Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
static class: MidiOutDeviceProvider.MidiOutDeviceInfo [javadoc | source]
java.lang.Object
   javax.sound.midi.MidiDevice.Info
      com.sun.media.sound.AbstractMidiDeviceProvider.Info
         com.sun.media.sound.MidiOutDeviceProvider$MidiOutDeviceInfo
Info class for MidiOutDevices. Adds the provider's Class to keep the provider class from being unloaded. Otherwise, at least on JDK1.1.7 and 1.1.8, the provider class can be unloaded. Then, then the provider is next invoked, the static block is executed again and a new instance of the device object is created. Even though the previous instance may still exist and be open / in use / etc., the new instance will not reflect that state...
Methods from com.sun.media.sound.AbstractMidiDeviceProvider$Info:
equalStrings,   getIndex,   setIndex
Methods from javax.sound.midi.MidiDevice$Info:
equals,   getDescription,   getName,   getVendor,   getVersion,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait