Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AudioMixer Class Reference

#include <Devices/AudioMixer.H>

Inheritance diagram for AudioMixer:

Inheritance graph
[legend]
Collaboration diagram for AudioMixer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Simple interface to the Linux audio mixer.

To be used to set the recording input.

Definition at line 46 of file 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::stringDevName
 mixer device name
OModelParam< bool > InpLine
 line input on
OModelParam< bool > InpCD
 cd input on
OModelParam< bool > InpMic
 mic input on


Constructor & Destructor Documentation

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.


Member Function Documentation

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, InpMic, LFATAL, LINFO, mask, PLERROR, and PLFATAL.

void AudioMixer::stop1  )  [protected, virtual]
 

get stopped (see ModelComponent.H)

Reimplemented from ModelComponent.

Definition at line 92 of file AudioMixer.C.


Member Data Documentation

OModelParam<std::string> AudioMixer::DevName [protected]
 

mixer device name

Definition at line 57 of file AudioMixer.H.

Referenced by start2().

OModelParam<bool> AudioMixer::InpCD [protected]
 

cd input on

Definition at line 59 of file AudioMixer.H.

Referenced by start2().

OModelParam<bool> AudioMixer::InpLine [protected]
 

line input on

Definition at line 58 of file AudioMixer.H.

Referenced by start2().

OModelParam<bool> AudioMixer::InpMic [protected]
 

mic input on

Definition at line 60 of file AudioMixer.H.

Referenced by start2().


The documentation for this class was generated from the following files:
Generated on Sat Nov 7 13:35:00 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4