|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AudioDeviceManager
Interface for an audio system. This may be implemented using JavaSound, or a native device wrapper.
Method Summary | |
---|---|
AudioDeviceInputStream |
createInputStream(int deviceID,
int frameRate,
int numInputChannels)
Create a stream that can be used by JSyn for acquiring audio data. |
AudioDeviceOutputStream |
createOutputStream(int deviceID,
int frameRate,
int numOutputChannels)
Create a stream that can be used by JSyn for outputting audio data. |
double |
getDefaultHighInputLatency(int deviceID)
This the highest latency that the device can support. |
double |
getDefaultHighOutputLatency(int deviceID)
|
int |
getDefaultInputDeviceID()
The user can generally select a default device using a control panel that is part of the operating system. |
double |
getDefaultLowInputLatency(int deviceID)
This the lowest latency that the device can support reliably. |
double |
getDefaultLowOutputLatency(int deviceID)
|
int |
getDefaultOutputDeviceID()
The user can generally select a default device using a control panel that is part of the operating system. |
int |
getDeviceCount()
|
java.lang.String |
getDeviceName(int deviceID)
|
int |
getMaxInputChannels(int deviceID)
|
int |
getMaxOutputChannels(int deviceID)
|
int |
setSuggestedInputLatency(double latency)
Set latency in seconds for the audio device. |
int |
setSuggestedOutputLatency(double latency)
|
Method Detail |
---|
int getDeviceCount()
java.lang.String getDeviceName(int deviceID)
deviceID
-
int getDefaultInputDeviceID()
int getDefaultOutputDeviceID()
int getMaxInputChannels(int deviceID)
deviceID
-
int getMaxOutputChannels(int deviceID)
deviceID
-
double getDefaultLowInputLatency(int deviceID)
deviceID
-
double getDefaultHighInputLatency(int deviceID)
deviceID
-
double getDefaultLowOutputLatency(int deviceID)
double getDefaultHighOutputLatency(int deviceID)
int setSuggestedInputLatency(double latency)
int setSuggestedOutputLatency(double latency)
AudioDeviceOutputStream createOutputStream(int deviceID, int frameRate, int numOutputChannels)
AudioDeviceInputStream createInputStream(int deviceID, int frameRate, int numInputChannels)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |