All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
mybeat::AlsaRecorder Class Reference

#include <alsarecorder.h>

Inheritance diagram for mybeat::AlsaRecorder:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AlsaRecorder (uint32_t m_sampleSize, uint8_t m_channels, std::vector< SoundBuffer * > m_SoundBuffers, uint16_t m_recordSize)
virtual bool isStarted ()
virtual void run ()
virtual void stop ()
virtual ~AlsaRecorder ()

Private Member Functions

void closeSound ()
bool initSound ()

Private Attributes

bool m_captureEnabled
snd_pcm_t * m_captureHandle
uint8_t m_channels
uint16_t m_recordSize
uint32_t m_sampleSize
int16_t * m_signal
std::vector< SoundBuffer * > m_SoundBuffers
bool m_started

Detailed Description

Definition at line 67 of file alsarecorder.h.


Constructor & Destructor Documentation

mybeat::AlsaRecorder::AlsaRecorder ( uint32_t  m_sampleSize,
uint8_t  m_channels,
std::vector< SoundBuffer * >  m_SoundBuffers,
uint16_t  m_recordSize 
)

Definition at line 60 of file alsarecorder.cpp.

Definition at line 71 of file alsarecorder.cpp.


Member Function Documentation

Definition at line 141 of file alsarecorder.cpp.

bool mybeat::AlsaRecorder::initSound ( ) [private]

Definition at line 82 of file alsarecorder.cpp.

virtual bool mybeat::AlsaRecorder::isStarted ( ) [inline, virtual]

Implements mybeat::SoundRecorder.

Definition at line 74 of file alsarecorder.h.

void mybeat::AlsaRecorder::run ( ) [virtual]

Implements ThreadBase.

Definition at line 145 of file alsarecorder.cpp.

void mybeat::AlsaRecorder::stop ( ) [virtual]

Implements mybeat::SoundRecorder.

Definition at line 78 of file alsarecorder.cpp.


Member Data Documentation

Definition at line 80 of file alsarecorder.h.

Definition at line 76 of file alsarecorder.h.

Definition at line 81 of file alsarecorder.h.

Definition at line 77 of file alsarecorder.h.

Definition at line 78 of file alsarecorder.h.

int16_t* mybeat::AlsaRecorder::m_signal [private]

Definition at line 82 of file alsarecorder.h.

Definition at line 79 of file alsarecorder.h.

Definition at line 83 of file alsarecorder.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cob_lightmode
Author(s): Benjamin Maidel
autogenerated on Thu Jan 17 2013 12:16:04