52 */
53 Receiver getReceiver();
54
55 /**
56 * Indicates that the application has finished using the transmitter, and
57 * that limited resources it requires may be released or made available.
58 * <p>
59 * If the creation of this {@code Transmitter} resulted in implicitly
60 * opening the underlying device, the device is implicitly closed by this
61 * method. This is true unless the device is kept open by other
62 * {@code Receiver} or {@code Transmitter} instances that opened the device
63 * implicitly, and unless the device has been opened explicitly. If the
64 * device this {@code Transmitter} is retrieved from is closed explicitly by
65 * calling {@link MidiDevice#close MidiDevice.close}, the
66 * {@code Transmitter} is closed, too. For a detailed description of
67 * open/close behaviour see the class description of
68 * {@link MidiDevice MidiDevice}.
69 *
70 * @see javax.sound.midi.MidiSystem#getTransmitter
71 */
72 void close();
73 }
|
52 */
53 Receiver getReceiver();
54
55 /**
56 * Indicates that the application has finished using the transmitter, and
57 * that limited resources it requires may be released or made available.
58 * <p>
59 * If the creation of this {@code Transmitter} resulted in implicitly
60 * opening the underlying device, the device is implicitly closed by this
61 * method. This is true unless the device is kept open by other
62 * {@code Receiver} or {@code Transmitter} instances that opened the device
63 * implicitly, and unless the device has been opened explicitly. If the
64 * device this {@code Transmitter} is retrieved from is closed explicitly by
65 * calling {@link MidiDevice#close MidiDevice.close}, the
66 * {@code Transmitter} is closed, too. For a detailed description of
67 * open/close behaviour see the class description of
68 * {@link MidiDevice MidiDevice}.
69 *
70 * @see javax.sound.midi.MidiSystem#getTransmitter
71 */
72 @Override
73 void close();
74 }
|