Simple interface to the Linux audio mixer. More...
#include <Devices/AudioMixer.H>
Public Member Functions | |
AudioMixer (OptionManager &mgr, const std::string &descrName="Audio Mixer Driver", const std::string &tagName="AudioMixer") | |
Constructor. | |
~AudioMixer () | |
Destructor. | |
Protected Member Functions | |
void | start2 () |
get started (see ModelComponent.H) | |
void | stop1 () |
get stopped (see ModelComponent.H) | |
Protected Attributes | |
OModelParam< std::string > | DevName |
mixer device name | |
OModelParam< bool > | InpLine |
line input on | |
OModelParam< bool > | InpCD |
cd input on | |
OModelParam< bool > | InpMic |
mic input on |
Simple interface to the Linux audio mixer.
To be used to set the recording input.
Definition at line 46 of file AudioMixer.H.
AudioMixer::AudioMixer | ( | OptionManager & | mgr, | |
const std::string & | descrName = "Audio Mixer Driver" , |
|||
const std::string & | tagName = "AudioMixer" | |||
) |
Constructor.
Definition at line 55 of file AudioMixer.C.
AudioMixer::~AudioMixer | ( | ) |
Destructor.
Definition at line 98 of file AudioMixer.C.
void AudioMixer::start2 | ( | ) | [protected, virtual] |
get started (see ModelComponent.H)
Reimplemented from ModelComponent.
Definition at line 67 of file AudioMixer.C.
References DevName, OModelParam< T >::getVal(), InpCD, InpLine, and InpMic.
void AudioMixer::stop1 | ( | ) | [protected, virtual] |
get stopped (see ModelComponent.H)
Reimplemented from ModelComponent.
Definition at line 92 of file AudioMixer.C.
OModelParam<std::string> AudioMixer::DevName [protected] |
OModelParam<bool> AudioMixer::InpCD [protected] |
OModelParam<bool> AudioMixer::InpLine [protected] |
OModelParam<bool> AudioMixer::InpMic [protected] |