|
|
This class is an interface to an audio mixer.
|
Constructor.
Parameters:
mixerChannel | Mixer channel (e.g. SOUND_MIXER_PCM). |
name | Mixer device name (e.g. "/dev/mixer"). |
~ |
Destructor.
inline bool |
[const]
Check, if mixer is ready.
Returns: true, if mixer is ready; false otherwise.
bool |
Get volume.
Parameters:
left | Volume of left channel. |
right | Volume of right channel. |
Returns: true, if volume has been written into variables; false otherwise.
bool |
Set volume.
Parameters:
left | Volume of left channel. |
right | Volume of right channel. |
Returns: true, if volume has been set; false otherwise.