#include <alsarecorder.h>
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 |
Definition at line 67 of file alsarecorder.h.
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.
mybeat::AlsaRecorder::~AlsaRecorder | ( | ) | [virtual] |
Definition at line 71 of file alsarecorder.cpp.
void mybeat::AlsaRecorder::closeSound | ( | ) | [private] |
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.
bool mybeat::AlsaRecorder::m_captureEnabled [private] |
Definition at line 80 of file alsarecorder.h.
snd_pcm_t* mybeat::AlsaRecorder::m_captureHandle [private] |
Definition at line 76 of file alsarecorder.h.
uint8_t mybeat::AlsaRecorder::m_channels [private] |
Definition at line 81 of file alsarecorder.h.
uint16_t mybeat::AlsaRecorder::m_recordSize [private] |
Definition at line 77 of file alsarecorder.h.
uint32_t mybeat::AlsaRecorder::m_sampleSize [private] |
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.
bool mybeat::AlsaRecorder::m_started [private] |
Definition at line 83 of file alsarecorder.h.