ads.audio
Class Device

java.lang.Object
  |
  +--ads.audio.Device

public class Device
extends java.lang.Object

Gets the devices on the system.


Constructor Summary
Device()
           
 
Method Summary
static java.lang.String getDeviceDescription()
           
static java.lang.String getDeviceName()
           
static java.lang.String getDeviceName(int num)
           
static java.lang.String getDeviceVendor()
           
static java.lang.String getDeviceVersion()
           
static void getLine(int m, int l)
           
static int getLinesIn()
           
static int getLinesIn(int l)
           
static int getLinesOut()
           
static int getLinesOut(int o)
           
static int getMaxLinesIn()
           
static int getMaxLinesOut()
           
static int getNumberDevices()
           
static int getPortsIn()
           
static int getPortsOut()
           
static void setLinesOut(javax.sound.sampled.Line.Info[] o)
           
static void setNumberDevices(int y)
           
static void setPortsOut(javax.sound.sampled.Line.Info[] o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Device

public Device()
Method Detail

getNumberDevices

public static int getNumberDevices()

setNumberDevices

public static void setNumberDevices(int y)

getDeviceName

public static java.lang.String getDeviceName()

getDeviceName

public static java.lang.String getDeviceName(int num)

getDeviceVendor

public static java.lang.String getDeviceVendor()

getDeviceDescription

public static java.lang.String getDeviceDescription()

getDeviceVersion

public static java.lang.String getDeviceVersion()

getLinesIn

public static int getLinesIn()

getLinesIn

public static int getLinesIn(int l)

getLinesOut

public static int getLinesOut()

getLinesOut

public static int getLinesOut(int o)

setLinesOut

public static void setLinesOut(javax.sound.sampled.Line.Info[] o)

getMaxLinesIn

public static int getMaxLinesIn()
                         throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException

getMaxLinesOut

public static int getMaxLinesOut()
                          throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException

getPortsIn

public static int getPortsIn()

getPortsOut

public static int getPortsOut()

setPortsOut

public static void setPortsOut(javax.sound.sampled.Line.Info[] o)

getLine

public static void getLine(int m,
                           int l)