#include <pulserecorder.h>
Public Member Functions | |
virtual bool | isStarted () |
PulseRecorder (uint32_t m_sampleRate, uint8_t m_channels, std::vector< SoundBuffer * > m_SoundBuffers, uint16_t m_recordSize) | |
virtual void | run () |
virtual void | stop () |
virtual | ~PulseRecorder () |
Private Member Functions | |
void | closeSound () |
bool | initSound () |
Private Attributes | |
bool | m_captureEnabled |
uint8_t | m_channels |
uint16_t | m_recordSize |
pa_simple * | m_s |
uint32_t | m_sampleRate |
int16_t * | m_signal |
std::vector< SoundBuffer * > | m_SoundBuffers |
pa_sample_spec | m_ss |
bool | m_started |
Definition at line 67 of file pulserecorder.h.
mybeat::PulseRecorder::PulseRecorder | ( | uint32_t | m_sampleRate, |
uint8_t | m_channels, | ||
std::vector< SoundBuffer * > | m_SoundBuffers, | ||
uint16_t | m_recordSize | ||
) |
Definition at line 61 of file pulserecorder.cpp.
mybeat::PulseRecorder::~PulseRecorder | ( | ) | [virtual] |
Definition at line 71 of file pulserecorder.cpp.
void mybeat::PulseRecorder::closeSound | ( | ) | [private] |
Definition at line 93 of file pulserecorder.cpp.
bool mybeat::PulseRecorder::initSound | ( | ) | [private] |
Definition at line 82 of file pulserecorder.cpp.
virtual bool mybeat::PulseRecorder::isStarted | ( | ) | [inline, virtual] |
Implements mybeat::SoundRecorder.
Definition at line 75 of file pulserecorder.h.
void mybeat::PulseRecorder::run | ( | ) | [virtual] |
Implements ThreadBase.
Definition at line 97 of file pulserecorder.cpp.
void mybeat::PulseRecorder::stop | ( | ) | [virtual] |
Implements mybeat::SoundRecorder.
Definition at line 78 of file pulserecorder.cpp.
bool mybeat::PulseRecorder::m_captureEnabled [private] |
Definition at line 83 of file pulserecorder.h.
uint8_t mybeat::PulseRecorder::m_channels [private] |
Definition at line 84 of file pulserecorder.h.
uint16_t mybeat::PulseRecorder::m_recordSize [private] |
Definition at line 81 of file pulserecorder.h.
pa_simple* mybeat::PulseRecorder::m_s [private] |
Definition at line 77 of file pulserecorder.h.
uint32_t mybeat::PulseRecorder::m_sampleRate [private] |
Definition at line 82 of file pulserecorder.h.
int16_t* mybeat::PulseRecorder::m_signal [private] |
Definition at line 80 of file pulserecorder.h.
Definition at line 79 of file pulserecorder.h.
pa_sample_spec mybeat::PulseRecorder::m_ss [private] |
Definition at line 78 of file pulserecorder.h.
bool mybeat::PulseRecorder::m_started [private] |
Definition at line 85 of file pulserecorder.h.