< prev index next >

src/java.desktop/share/classes/com/sun/media/sound/AutoConnectSequencer.java

Print this page




  24  */
  25 
  26 package com.sun.media.sound;
  27 
  28 import javax.sound.midi.Receiver;
  29 
  30 /**
  31  * Interface for Sequencers that are able to do the auto-connect
  32  * as required by MidiSystem.getSequencer()
  33  *
  34  * @author Florian Bomers
  35  */
  36 public interface AutoConnectSequencer {
  37 
  38     /**
  39      * Set the receiver that this device is
  40      * auto-connected. If non-null, the device
  41      * needs to re-connect itself to a suitable
  42      * device in open().
  43      */
  44     public void setAutoConnect(Receiver autoConnectReceiver);
  45 
  46 }


  24  */
  25 
  26 package com.sun.media.sound;
  27 
  28 import javax.sound.midi.Receiver;
  29 
  30 /**
  31  * Interface for Sequencers that are able to do the auto-connect
  32  * as required by MidiSystem.getSequencer()
  33  *
  34  * @author Florian Bomers
  35  */
  36 public interface AutoConnectSequencer {
  37 
  38     /**
  39      * Set the receiver that this device is
  40      * auto-connected. If non-null, the device
  41      * needs to re-connect itself to a suitable
  42      * device in open().
  43      */
  44     void setAutoConnect(Receiver autoConnectReceiver);

  45 }
< prev index next >