13 #ifndef _MpodBufferRecorder_h_ 14 #define _MpodBufferRecorder_h_ 18 #include <os/OsStatus.h> 19 #include <utl/UtlString.h> 69 unsigned samplesPerSec,
71 OsCallback &frameTicker);
78 OsStatus
pushFrame(
unsigned int numSamples,
143 #endif // _MpodBufferRecorder_h_
uint32_t MpFrameTime
Definition: MpTypes.h:53
unsigned mBufferLength
Definition: MpodBufferRecorder.h:109
unsigned getBufferEnd() const
Definition: MpodBufferRecorder.h:138
MpAudioSample * mpBuffer
Definition: MpodBufferRecorder.h:110
virtual OsStatus enableDevice(unsigned samplesPerFrame, unsigned samplesPerSec, MpFrameTime currentFrameTime, OsCallback &frameTicker)
Initialize device driver and state.
Definition: MpodBufferRecorder.cpp:68
int16_t MpAudioSample
Definition: MpTypes.h:44
virtual ~MpodBufferRecorder()
Destructor.
Definition: MpodBufferRecorder.cpp:51
MpodBufferRecorder(const UtlString &name, MpFrameTime bufferLength)
Default constructor.
Definition: MpodBufferRecorder.cpp:40
MpFrameTime mBufferLengthMS
Definition: MpodBufferRecorder.h:108
OsTimer * mpTickerTimer
Definition: MpodBufferRecorder.h:113
const MpAudioSample * getBufferData() const
Definition: MpodBufferRecorder.h:128
Container for device specific output driver.
Definition: MpodBufferRecorder.h:39
virtual OsStatus pushFrame(unsigned int numSamples, const MpAudioSample *samples, MpFrameTime frameTime)
Send data to output device.
Definition: MpodBufferRecorder.cpp:143
unsigned getBufferLength() const
Definition: MpodBufferRecorder.h:133
virtual OsStatus disableDevice()
Uninitialize device driver.
Definition: MpodBufferRecorder.cpp:103
MpodBufferRecorder & operator=(const MpodBufferRecorder &rhs)
Assignment operator (not implemented for this class)
unsigned mBufferEnd
Definition: MpodBufferRecorder.h:111
Container for device specific output driver.
Definition: MpOutputDeviceDriver.h:53