Commit Graph

7 Commits

Author SHA1 Message Date
Chris Robinson
ea83608ee4 Avoid a junk sample at the start of the ring buffer, and allocate the buffer
memory at the end of the ring buffer itself.
2011-06-27 14:30:45 -07:00
Chris Robinson
244daba501 Don't overwrite data when the ring buffer overflows 2010-06-04 00:24:23 -07:00
Chris Robinson
ef68e5d0ff Protect ring buffer access with the lock 2009-06-07 21:34:05 -07:00
Chris Robinson
10a87f510c Protect RingBufferSize calculation with the mutex 2008-06-04 17:01:44 -07:00
Chris Robinson
6735fc7911 Add missing config.h includes 2008-01-16 14:09:04 -08:00
Chris Robinson
1fa1edf16b Fix ring buffer size and overrun detection 2007-12-16 19:30:57 -08:00
Chris Robinson
19156ab895 Add generic ring buffer methods 2007-12-16 18:36:06 -08:00