Public Member Functions
|cRingBufferLinearPes (int Size, int Margin=0, bool Statistics=false, const char *Description=NULL)|
Protected Member Functions
|virtual int||DataReady (const uchar *Data, int Count)|
|int|| Margin =
|bool|| Statistics =
|const char *|| Description = |
|int cRingBufferLinearPes::DataReady||(||const uchar *||Data,|
By default a ring buffer has data ready as soon as there are at least 'margin' bytes available. A derived class can reimplement this function if it has other conditions that define when data is ready. The return value is either 0 if there is not yet enough data available, or the number of bytes from the beginning of Data that are "ready".
Reimplemented from cRingBufferLinear.