Fixed the description of cRingBufferLinear

This commit is contained in:
Klaus Schmidinger 2004-06-19 10:34:27 +02:00
parent e610c1a01b
commit c4e0e6a54a
3 changed files with 5 additions and 2 deletions

View File

@ -734,6 +734,7 @@ Ludwig Nussel <ludwig.nussel@web.de>
couldn't connect to the LIRC daemon couldn't connect to the LIRC daemon
for making the plugin library directory configurable via Make.config for making the plugin library directory configurable via Make.config
for reporting a problem on systems that have UTF-8 enabled for reporting a problem on systems that have UTF-8 enabled
for pointing out a flaw in the the description of cRingBufferLinear
Thomas Koch <tom@harhar.net> Thomas Koch <tom@harhar.net>
for his support in keeping the Premiere World channels up to date in 'channels.conf' for his support in keeping the Premiere World channels up to date in 'channels.conf'

View File

@ -2930,3 +2930,5 @@ Video Disk Recorder Revision History
implemented for FF DVB cards. implemented for FF DVB cards.
- Fixed handling the color button texts in cMenuEditStrItem (thanks to Maynard - Fixed handling the color button texts in cMenuEditStrItem (thanks to Maynard
Cedric for reporting this one). Cedric for reporting this one).
- Fixed the description of cRingBufferLinear (thanks to Ludwig Nussel for pointing
out this one).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: ringbuffer.h 1.14 2004/03/07 13:40:45 kls Exp $ * $Id: ringbuffer.h 1.15 2004/06/19 10:32:15 kls Exp $
*/ */
#ifndef __RINGBUFFER_H #ifndef __RINGBUFFER_H
@ -54,7 +54,7 @@ private:
public: public:
cRingBufferLinear(int Size, int Margin = 0, bool Statistics = false); cRingBufferLinear(int Size, int Margin = 0, bool Statistics = false);
///< Creates a linear ring buffer. ///< Creates a linear ring buffer.
///< The buffer will be able to hold at most Size bytes of data, and will ///< The buffer will be able to hold at most Size-Margin-1 bytes of data, and will
///< be guaranteed to return at least Margin bytes in one consecutive block. ///< be guaranteed to return at least Margin bytes in one consecutive block.
virtual ~cRingBufferLinear(); virtual ~cRingBufferLinear();
virtual int Available(void); virtual int Available(void);