|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AudioDeviceModel
A data model for an audio output device.
| Method Summary | |
|---|---|
void |
addAudioDeviceListener(AudioDeviceListener l)
Registers the specified listener to be notified when the settings of the audio device are changed. |
int |
getDeviceId()
Gets the numerical ID of this audio device. |
AudioOutputDevice |
getDeviceInfo()
Gets the current settings of the audio device represented by this model. |
boolean |
isActive()
Determines whether the audio device is active. |
void |
removeAudioDeviceListener(AudioDeviceListener l)
Removes the specified listener. |
void |
setActive(boolean active)
Sets whether the audio device is enabled or disabled. |
void |
setBackendActive(boolean active)
Schedules a new task for enabling/disabling the audio device. |
void |
setBackendChannelCount(int channels)
Schedules a new task for changing the channel number of the audio device. |
void |
setBackendChannelParameter(int channel,
Parameter prm)
Schedules a new task for altering a specific setting of the specified audio output channel. |
void |
setBackendDeviceParameter(Parameter prm)
Schedules a new task for altering a specific setting of the audio output device. |
void |
setDeviceInfo(AudioOutputDevice device)
Updates the settings of the audio device represented by this model. |
| Method Detail |
|---|
void addAudioDeviceListener(AudioDeviceListener l)
l - The AudioDeviceListener to register.void removeAudioDeviceListener(AudioDeviceListener l)
l - The AudioDeviceListener to remove.int getDeviceId()
AudioOutputDevice getDeviceInfo()
AudioOutputDevice instance providing
the current settings of the audio device represented by this model.void setDeviceInfo(AudioOutputDevice device)
device - The new audio device settings.void setActive(boolean active)
active - If true the audio device is enabled,
else the device is disabled.boolean isActive()
true if the device is enabled and false otherwise.void setBackendActive(boolean active)
active - If true the audio device is enabled,
else the device is disabled.void setBackendDeviceParameter(Parameter prm)
prm - The parameter to be set.void setBackendChannelCount(int channels)
channels - The new number of audio channels.
void setBackendChannelParameter(int channel,
Parameter prm)
channel - The channel number.prm - The parameter to be set.
|
JSampler v0.8a |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||