#include <JitterBuffer.h>
|
| JitterBuffer (int buf_samples, int qlen, int sample_rate, int strategy, int bcast_qlen, int channels, int bit_res) |
|
virtual | ~JitterBuffer () |
|
virtual bool | insertSlotNonBlocking (const int8_t *ptrToSlot, int len, int lostLen) |
| Same as insertSlotBlocking but non-blocking (asynchronous) More...
|
|
virtual void | readSlotNonBlocking (int8_t *ptrToReadSlot) |
| Same as readSlotBlocking but non-blocking (asynchronous) More...
|
|
virtual void | readBroadcastSlot (int8_t *ptrToReadSlot) |
|
virtual bool | getStats (IOStat *stat, bool reset) |
|
| RingBuffer (int SlotSize, int NumSlots) |
| The class constructor. More...
|
|
virtual | ~RingBuffer () |
| The class destructor. More...
|
|
void | insertSlotBlocking (const int8_t *ptrToSlot) |
| Insert a slot into the RingBuffer from ptrToSlot. This method will block until there's space in the buffer. More...
|
|
void | readSlotBlocking (int8_t *ptrToReadSlot) |
| Read a slot from the RingBuffer into ptrToReadSlot. This method will block until there's space in the buffer. More...
|
|
◆ JitterBuffer()
JitterBuffer::JitterBuffer |
( |
int |
buf_samples, |
|
|
int |
qlen, |
|
|
int |
sample_rate, |
|
|
int |
strategy, |
|
|
int |
bcast_qlen, |
|
|
int |
channels, |
|
|
int |
bit_res |
|
) |
| |
◆ ~JitterBuffer()
virtual JitterBuffer::~JitterBuffer |
( |
| ) |
|
|
inlinevirtual |
◆ getStats()
◆ insertSlotNonBlocking()
bool JitterBuffer::insertSlotNonBlocking |
( |
const int8_t * |
ptrToSlot, |
|
|
int |
len, |
|
|
int |
lostLen |
|
) |
| |
|
virtual |
Same as insertSlotBlocking but non-blocking (asynchronous)
- Parameters
-
ptrToSlot | Pointer to slot to insert into the RingBuffer |
- Todo:
- It may be better here to insert the slot anyways, instead of not writing anything
Reimplemented from RingBuffer.
◆ lastCorrFactor()
double JitterBuffer::lastCorrFactor |
( |
| ) |
const |
|
inlineprotected |
◆ processPacketLoss()
void JitterBuffer::processPacketLoss |
( |
int |
lostLen | ) |
|
|
protected |
◆ readBroadcastSlot()
void JitterBuffer::readBroadcastSlot |
( |
int8_t * |
ptrToReadSlot | ) |
|
|
virtual |
◆ readSlotNonBlocking()
void JitterBuffer::readSlotNonBlocking |
( |
int8_t * |
ptrToReadSlot | ) |
|
|
virtual |
Same as readSlotBlocking but non-blocking (asynchronous)
- Parameters
-
ptrToReadSlot | Pointer to read slot from the RingBuffer |
Reimplemented from RingBuffer.
◆ mActive
bool JitterBuffer::mActive |
|
protected |
◆ mAudioBitRes
int JitterBuffer::mAudioBitRes |
|
protected |
◆ mAutoQFactor
double JitterBuffer::mAutoQFactor |
|
protected |
◆ mAutoQRate
double JitterBuffer::mAutoQRate |
|
protected |
◆ mAutoQRateDecay
double JitterBuffer::mAutoQRateDecay |
|
protected |
◆ mAutoQRateMin
double JitterBuffer::mAutoQRateMin |
|
protected |
◆ mAutoQueue
int JitterBuffer::mAutoQueue |
|
protected |
◆ mAutoQueueCorr
double JitterBuffer::mAutoQueueCorr |
|
protected |
◆ mBroadcastLatency
uint32_t JitterBuffer::mBroadcastLatency |
|
protected |
◆ mBroadcastPosition
uint32_t JitterBuffer::mBroadcastPosition |
|
protected |
◆ mBroadcastPositionCorr
double JitterBuffer::mBroadcastPositionCorr |
|
protected |
◆ mCorrIncTolerance
double JitterBuffer::mCorrIncTolerance |
|
protected |
◆ mFPP
◆ mInSlotSize
int JitterBuffer::mInSlotSize |
|
protected |
◆ mLastCorrCounter
◆ mLastCorrDirection
int JitterBuffer::mLastCorrDirection |
|
protected |
◆ mMaxLatency
int JitterBuffer::mMaxLatency |
|
protected |
◆ mMinLevelThreshold
double JitterBuffer::mMinLevelThreshold |
|
protected |
◆ mMinStepSize
int JitterBuffer::mMinStepSize |
|
protected |
◆ mNumChannels
int JitterBuffer::mNumChannels |
|
protected |
◆ mOverflowDecTolerance
double JitterBuffer::mOverflowDecTolerance |
|
protected |
◆ mOverflowDropStep
int JitterBuffer::mOverflowDropStep |
|
protected |
◆ mSampleRate
int JitterBuffer::mSampleRate |
|
protected |
◆ mUnderrunIncTolerance
double JitterBuffer::mUnderrunIncTolerance |
|
protected |
The documentation for this class was generated from the following files: