class AudioMixer
|
Audio Mixer. More... |
|
|
Public Members
Detailed Description
This class is an interface to an audio mixer.
AudioMixer (int mixerChannel = SOUND_MIXER_PCM, const char* name = "/dev/mixer")
|
Constructor.
Parameters:
mixerChannel | Mixer channel (e.g. SOUND_MIXER_PCM).
|
name | Mixer device name (e.g. "/dev/mixer").
|
Destructor.
[const]
Check, if mixer is ready.
Returns: true, if mixer is ready; false otherwise.
Get volume.
Parameters:
left | Volume of left channel.
|
right | Volume of right channel.
@retrun true, if volume has been written into variables; false otherwise.
|
bool setVolume (const card8 left, const card8 right)
|
Set volume.
Parameters:
left | Volume of left channel.
|
right | Volume of right channel.
@retrun true, if volume has been set; false otherwise.
|
- Version: 1.0
- Author: Thomas Dreibholz (Dreibholz@bigfoot.com)
- Generated: viper@odin on Sun Feb 4 18:54:51 2001, using kdoc 2.0a22.