diff options
author | Johns <johns98@gmx.net> | 2012-04-22 17:17:54 +0200 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-04-22 17:17:54 +0200 |
commit | 207871fd9b534c896f604bdd2988580c8c8f9bc9 (patch) | |
tree | 44406b9f6f623e04801334060ac26fd77914ee50 /ringbuffer.h | |
parent | ebe0beb40048c90a8128cf81678bd2c250973a1e (diff) | |
download | vdr-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.h | 9 |
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 |