sipxmedialib
Version 3.3
|
Fifo for Delay resource. More...
Private Attributes | |
MpAudioBufPtr * | mBuff |
int | mBuffSize |
int | mEndPosition |
int | mStartPosition |
int | mNumActiveFrames |
Creators | |
MprDelayFifo (int capacity) | |
Constructor. More... | |
~MprDelayFifo () | |
Destructor. More... | |
Manipulators | |
void | reset () |
Reset FIFO. More... | |
void | pushData (MpAudioBufPtr &databuff) |
Push audio buffer to FIFO. More... | |
void | popData (MpAudioBufPtr &databuff) |
Pop audio buffer from FIFO. More... | |
Accessors | |
int | getFifoLength () const |
Get number of buffers in queue. More... | |
Inquiry | |
UtlBoolean | isQuiescent () const |
Does FIFO contain only silent frames? More... | |
UtlBoolean | isEmpty () const |
Is FIFIO empty. More... | |
Fifo for Delay resource.
MprDelayFifo | ( | int | capacity | ) |
Constructor.
~MprDelayFifo | ( | ) |
Destructor.
void reset | ( | ) |
Reset FIFO.
void pushData | ( | MpAudioBufPtr & | databuff | ) |
Push audio buffer to FIFO.
void popData | ( | MpAudioBufPtr & | databuff | ) |
Pop audio buffer from FIFO.
User must ensure that queue is not empty by himself. Pop from an empty queue will corrupt its internal state.
int getFifoLength | ( | ) | const |
Get number of buffers in queue.
UtlBoolean isQuiescent | ( | ) | const |
Does FIFO contain only silent frames?
UtlBoolean isEmpty | ( | ) | const |
Is FIFIO empty.
|
private |
|
private |
|
private |
|
private |
|
private |