diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-19 10:34:27 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-06-19 10:34:27 +0200 |
commit | c4e0e6a54a9d55236264634b2e234eefcd618ccd (patch) | |
tree | a9b77a6edf9aa16b4e44040b9eeaf1a907c5f961 | |
parent | e610c1a01b6796faeaa949e25410bbfa65f26002 (diff) | |
download | vdr-c4e0e6a54a9d55236264634b2e234eefcd618ccd.tar.gz vdr-c4e0e6a54a9d55236264634b2e234eefcd618ccd.tar.bz2 |
Fixed the description of cRingBufferLinear
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | ringbuffer.h | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index eccdb2af..28f618a5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -734,6 +734,7 @@ Ludwig Nussel <ludwig.nussel@web.de> couldn't connect to the LIRC daemon for making the plugin library directory configurable via Make.config 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> for his support in keeping the Premiere World channels up to date in 'channels.conf' @@ -2930,3 +2930,5 @@ Video Disk Recorder Revision History implemented for FF DVB cards. - Fixed handling the color button texts in cMenuEditStrItem (thanks to Maynard Cedric for reporting this one). +- Fixed the description of cRingBufferLinear (thanks to Ludwig Nussel for pointing + out this one). diff --git a/ringbuffer.h b/ringbuffer.h index 349096fe..f4074886 100644 --- a/ringbuffer.h +++ b/ringbuffer.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * 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 @@ -54,7 +54,7 @@ private: public: cRingBufferLinear(int Size, int Margin = 0, bool Statistics = false); ///< 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. virtual ~cRingBufferLinear(); virtual int Available(void); |