Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: MidiOutDeviceProvider [javadoc | source]
java.lang.Object
   javax.sound.midi.spi.MidiDeviceProvider
      com.sun.media.sound.AbstractMidiDeviceProvider
         com.sun.media.sound.MidiOutDeviceProvider
MIDI output device provider.
Nested Class Summary:
static class  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... 
Field Summary
static  Info[] infos    Cache of info objects for all MIDI output devices on the system. 
static  MidiDevice[] devices    Cache of open MIDI output devices on the system. 
Constructor:
 public MidiOutDeviceProvider() 
Method from com.sun.media.sound.MidiOutDeviceProvider Summary:
createDevice,   createInfo,   getDeviceCache,   getInfoCache,   getNumDevices,   setDeviceCache,   setInfoCache
Methods from com.sun.media.sound.AbstractMidiDeviceProvider:
createDevice,   createInfo,   getDevice,   getDeviceCache,   getDeviceInfo,   getInfoCache,   getNumDevices,   readDeviceInfos,   setDeviceCache,   setInfoCache
Methods from javax.sound.midi.spi.MidiDeviceProvider:
getDevice,   getDeviceInfo,   isDeviceSupported
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.MidiOutDeviceProvider Detail:
 MidiDevice createDevice(Info info) 
 Info createInfo(int index) 
 MidiDevice[] getDeviceCache() 
 Info[] getInfoCache() 
 int getNumDevices() 
  void setDeviceCache(MidiDevice[] devices) 
  void setInfoCache(Info[] infos)