|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.linuxsampler.lscp.AbstractDevice
org.linuxsampler.lscp.AudioOutputDevice
public class AudioOutputDevice
Provides information about the current settings of a specific audio output device.
Constructor Summary | |
---|---|
AudioOutputDevice()
Creates a new instance of AudioOutputDevice |
Method Summary | |
---|---|
Parameter[] |
getAllParameters()
Gets a Parameter array providing all parameters
of this audio output device (including ACTIVE ,
CHANNELS and SAMPLERATE parameters). |
AudioOutputChannel |
getAudioChannel(int index)
Gets the audio output channel at the specified index. |
int |
getAudioChannelCount()
Gets the current number of audio output channels this device offers. |
AudioOutputChannel[] |
getAudioChannels()
Gets the current non- null
list of audio channels this device offers. |
int |
getChannelCount()
Gets the amount of audio output channels this device currently offers. |
Parameter<java.lang.Integer> |
getChannelsParameter()
Gets the CHANNELS parameter. |
int |
getSampleRate()
Gets the sample rate this device uses. |
Parameter<java.lang.Integer> |
getSampleRateParameter()
Gets the SAMPLERATE parameter. |
void |
setAudioChannels(AudioOutputChannel[] channels)
Sets the current list of audio output channels. |
void |
setChannelsParameter(Parameter<java.lang.Integer> channels)
Sets the CHANNELS parameter. |
void |
setSampleRateParameter(Parameter<java.lang.Integer> samplerate)
Sets the SAMPLERATE parameter. |
Methods inherited from class org.linuxsampler.lscp.AbstractDevice |
---|
addParameter, getActiveParameter, getAdditionalParameters, getDeviceId, getDriverName, hasAdditionalParameters, isActive, setActive, setDeviceId, setDriverName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AudioOutputDevice()
Method Detail |
---|
public int getChannelCount()
public Parameter<java.lang.Integer> getChannelsParameter()
CHANNELS
parameter.
Parameter
instance.public void setChannelsParameter(Parameter<java.lang.Integer> channels)
CHANNELS
parameter.
channels
- The new CHANNELS
parameter.public int getSampleRate()
public Parameter<java.lang.Integer> getSampleRateParameter()
SAMPLERATE
parameter.
Parameter
instance.public void setSampleRateParameter(Parameter<java.lang.Integer> samplerate)
SAMPLERATE
parameter.
samplerate
- The new SAMPLERATE
parameter.public AudioOutputChannel[] getAudioChannels()
null
list of audio channels this device offers.
AudioOutputChannel
array
providing all audio channels this device offers.public void setAudioChannels(AudioOutputChannel[] channels)
channels
- The new list of audio output channels.
java.lang.IllegalArgumentException
- If channels
is null
.public AudioOutputChannel getAudioChannel(int index)
index
- The index of the audio output channel to be retrieved.public int getAudioChannelCount()
public Parameter[] getAllParameters()
Parameter
array providing all parameters
of this audio output device (including ACTIVE
,
CHANNELS
and SAMPLERATE
parameters).
Parameter
array providing all parameters
of this MIDI port.
|
jlscp v0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |