sipxmedialib
Version 3.3
|
Private class container for MpInputDeviceDriver pointer and window of buffers. More...
Public Member Functions | |
Creators | |
MpAudioInputConnection (MpInputDeviceHandle deviceId, MpInputDeviceDriver &deviceDriver, unsigned int frameBufferLength, MpBufPool &bufferPool, uint32_t samplesPerFrame, uint32_t samplesPerSec) | |
Default constructor. More... | |
virtual | ~MpAudioInputConnection () |
Destructor. More... | |
Manipulators | |
OsStatus | setup (uint32_t samplesPerFrame, uint32_t samplesPerSec) |
OsStatus | enable () |
OsStatus | disable () |
OsStatus | pushFrame (unsigned int numSamples, MpAudioSample *samples, MpFrameTime frameTime) |
void | setInUse () |
void | clearInUse () |
Accessors | |
OsStatus | getFrame (MpFrameTime &frameTime, MpBufPtr &buffer, unsigned &numFramesBefore, unsigned &numFramesAfter) const |
MpInputDeviceDriver * | getDeviceDriver () const |
unsigned | getTimeDerivatives (unsigned nDerivatives, double *&derivativeBuf) const |
MpFrameTime | getCurrentFrameTime () const |
Inquiry | |
UtlBoolean | isInUse () const |
Private Member Functions | |
MpAudioInputConnection (const MpAudioInputConnection &rMpAudioInputConnection) | |
Copy constructor (not implemented for this class) More... | |
MpAudioInputConnection & | operator= (const MpAudioInputConnection &rhs) |
Assignment operator (not implemented for this class) More... | |
Private Attributes | |
unsigned int | mLastPushedFrame |
Index of last pushed frame in mppFrameBufferArray. More... | |
unsigned int | mFrameBufferLength |
Length of mppFrameBufferArray. More... | |
unsigned int | mFrameBuffersUsed |
Actual number of buffers with data. More... | |
MpInputDeviceFrameData * | mppFrameBufferArray |
MpInputDeviceDriver * | mpInputDeviceDriver |
MpBufPool * | mpBufferPool |
UtlBoolean | mInUse |
Use indicator to synchronize disable and remove. More... | |
int | mEnableCounter |
Reference counter for enable() and disable() calls. More... | |
uint32_t | mSamplesPerFrame |
Samples per frame setting for enable() More... | |
uint32_t | mSamplesPerSec |
Samples per second setting for enable() More... | |
Private class container for MpInputDeviceDriver pointer and window of buffers.
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
private |
Copy constructor (not implemented for this class)
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Assignment operator (not implemented for this class)
|
private |
Index of last pushed frame in mppFrameBufferArray.
|
private |
Length of mppFrameBufferArray.
|
private |
Actual number of buffers with data.
|
private |
|
private |
|
private |
|
private |
Use indicator to synchronize disable and remove.
|
private |
Samples per frame setting for enable()
|
private |
Samples per second setting for enable()