summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--ringbuffer.h4
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'
diff --git a/HISTORY b/HISTORY
index 842445a8..2f4aff57 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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);