gr.teicrete.mta.midi.device
Class DeviceControl

java.lang.Object
  extended by gr.teicrete.mta.midi.device.DeviceControl

public class DeviceControl
extends java.lang.Object

A class for obtaining the installed MIDI devices.

Author:
zavi

Constructor Summary
DeviceControl()
           
 
Method Summary
static javax.sound.midi.MidiDevice[] getDevices()
          Returns an array of the corresponding MIDI devices on the system.
static javax.sound.midi.MidiDevice.Info[] getInfos()
          Returns an array of MidiDevice.Info objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceControl

public DeviceControl()
Method Detail

getInfos

public static javax.sound.midi.MidiDevice.Info[] getInfos()
Returns an array of MidiDevice.Info objects

Returns:
MidiDevice.Info array of the corresponding MIDI devices.

getDevices

public static javax.sound.midi.MidiDevice[] getDevices()
Returns an array of the corresponding MIDI devices on the system.

Returns:
MidiDevice array