src/share/classes/javax/sound/midi/Transmitter.java

Print this page

        

@@ -33,11 +33,11 @@
  *
  * @see Receiver
  *
  * @author Kara Kytle
  */
-public interface Transmitter {
+public interface Transmitter extends AutoCloseable {
 
 
     /**
      * Sets the receiver to which this transmitter will deliver MIDI messages.
      * If a receiver is currently set, it is replaced with this one.