aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ringbuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Use a normal delete instead of ll_ringbuffer_freeChris Robinson2018-12-221-21/+32
| | | | And use RingBufferPtr in more places
* Add a unique_ptr alias for the ringbufferChris Robinson2018-11-271-0/+8
|
* Return the ringbuffer data pointers as a pairChris Robinson2018-11-191-18/+16
|
* Make ll_ringbuffer_write/read take void*/const void*Chris Robinson2018-11-191-3/+3
|
* Add extern "C" to some headersChris Robinson2018-03-091-0/+8
|
* Ensure at least the specified ringbuffer size is writableChris Robinson2018-03-021-4/+44
| | | | | | Previously, all but one of the specified size could be written (so for a size of n, only n-1 was guaranteed writable). All users pretty much compensated for this, but it makes more sense to fix it at the source.
* Add an option to limit the write size of the ringbufferChris Robinson2018-03-011-1/+1
|
* Move the ringbuffer declarations to a separate headerChris Robinson2018-01-111-0/+29
And rename alcRing.c to ringbuffer.c for consistency.