|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.softsynth.jsyn.AudioDevice
public class AudioDevice
Provides information on the enumerated audio devices that are available for use. You can query the available devices and then pass a selected deviceID to Synth.start().
Synth,
SynthContext| Constructor Summary | |
|---|---|
AudioDevice()
|
|
| Method Summary | |
|---|---|
static int |
getDefaultInputDeviceID()
Query the index of the default device. |
static int |
getDefaultOutputDeviceID()
|
static int |
getMaxInputChannels(int deviceID)
Return the maximum number of channels that can be requested for a given device. |
static int |
getMaxOutputChannels(int deviceID)
|
static java.lang.String |
getName(int deviceID)
Return the human readable name for a given audio device. |
static int |
getNumDevices()
Query the total number of audio hardware devices available. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AudioDevice()
| Method Detail |
|---|
public static int getNumDevices()
public static int getDefaultInputDeviceID()
public static int getDefaultOutputDeviceID()
public static int getMaxInputChannels(int deviceID)
public static int getMaxOutputChannels(int deviceID)
public static java.lang.String getName(int deviceID)
See "JSynExamples.TJ_Devices" for an example.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||