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

#include <pulserecorder.h>

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

List of all members.

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

Detailed Description

Definition at line 67 of file pulserecorder.h.


Constructor & Destructor Documentation

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.

Definition at line 71 of file pulserecorder.cpp.


Member Function Documentation

Definition at line 93 of file pulserecorder.cpp.

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.


Member Data Documentation

Definition at line 83 of file pulserecorder.h.

Definition at line 84 of file pulserecorder.h.

Definition at line 81 of file pulserecorder.h.

pa_simple* mybeat::PulseRecorder::m_s [private]

Definition at line 77 of file pulserecorder.h.

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.

Definition at line 85 of file pulserecorder.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