summaryrefslogtreecommitdiff
path: root/ringbuffer.h
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-04-22 17:17:54 +0200
committerJohns <johns98@gmx.net>2012-04-22 17:17:54 +0200
commit207871fd9b534c896f604bdd2988580c8c8f9bc9 (patch)
tree44406b9f6f623e04801334060ac26fd77914ee50 /ringbuffer.h
parentebe0beb40048c90a8128cf81678bd2c250973a1e (diff)
downloadvdr-plugin-softhddevice-207871fd9b534c896f604bdd2988580c8c8f9bc9.tar.gz
vdr-plugin-softhddevice-207871fd9b534c896f604bdd2988580c8c8f9bc9.tar.bz2
Make audio ring buffer size a multiple of 3,5,7,8.
Diffstat (limited to 'ringbuffer.h')
-rw-r--r--ringbuffer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/ringbuffer.h b/ringbuffer.h
index a5e8a68..8a2b4c1 100644
--- a/ringbuffer.h
+++ b/ringbuffer.h
@@ -23,13 +23,16 @@
/// @addtogroup Ringbuffer
/// @{
- ///< ring buffer typedef
+ /// ring buffer typedef
typedef struct _ring_buffer_ RingBuffer;
- ///< create new ring buffer
+ /// reset ring buffer pointers
+extern void RingBufferReset(RingBuffer *);
+
+ /// create new ring buffer
extern RingBuffer *RingBufferNew(size_t);
- ///< free ring buffer
+ /// free ring buffer
extern void RingBufferDel(RingBuffer *);
/// write into ring buffer