13 #ifndef _MprAudioFrameBuffer_h_ 14 #define _MprAudioFrameBuffer_h_ 49 int numFramesHistory);
104 #endif // _MprAudioFrameBuffer_h_
int mFrameCount
Definition: MprAudioFrameBuffer.h:96
MprAudioFrameBuffer(const UtlString &rName, int numFramesHistory)
Constructor.
Definition: MprAudioFrameBuffer.cpp:30
MpBufPtr * mpBufferedFrameArray
Definition: MprAudioFrameBuffer.h:98
virtual ~MprAudioFrameBuffer()
Destructor.
Definition: MprAudioFrameBuffer.cpp:41
virtual UtlBoolean doProcessFrame(MpBufPtr inBufs[], MpBufPtr outBufs[], int inBufsSize, int outBufsSize, UtlBoolean isEnabled, int samplesPerFrame, int samplesPerSecond)
This method does the real work for the media processing resource and must be defined in each class de...
Definition: MprAudioFrameBuffer.cpp:60
Abstract base class for all audio processing objects.
Definition: MpAudioResource.h:38
MprAudioFrameBuffer & operator=(const MprAudioFrameBuffer &rhs)
Assignment operator (not implemented for this class)
Smart pointer to MpBuf.
Definition: MpBuf.h:160
The MprAudioFrameBuffer resource buffers frames of audio that pass through to be retrieved later...
Definition: MprAudioFrameBuffer.h:39
UtlBoolean isEnabled() const
Returns TRUE is this resource is currently enabled, FALSE otherwise.
Definition: MpResource.cpp:440
OsStatus getFrame(int pastFramesIndex, MpBufPtr &frameBuffer)
Definition: MprAudioFrameBuffer.cpp:97
int mNumBufferFrames
Definition: MprAudioFrameBuffer.h:97