aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ringbuffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use c++ headersFilip Gawin2019-01-091-3/+3
|
* Fix the ringbuffer write limitChris Robinson2019-01-031-21/+14
| | | | | | | Previously it just limited the returned write space, irrespective of how much had already been written. The buffer could still be filled up by doing multiple writes. Now the size is limited by adjusting the read pointer by the real vs limited difference when calculating the writable space.
* Fix ring buffer vector methodsChris Robinson2018-12-271-3/+3
|
* Return unique_ptrs instead of raw pointersChris Robinson2018-12-271-8/+6
| | | | For the ring buffer, channel converter, and sample converter.
* Clean up the ring buffer struct and use member functionsChris Robinson2018-12-261-112/+91
|
* Use a normal delete instead of ll_ringbuffer_freeChris Robinson2018-12-221-33/+12
| | | | And use RingBufferPtr in more places
* Avoid several uses of memsetChris Robinson2018-12-081-1/+1
|
* Avoid using ATOMIC_INITChris Robinson2018-11-261-12/+11
|
* Return the ringbuffer data pointers as a pairChris Robinson2018-11-191-18/+24
|
* Make ll_ringbuffer_write/read take void*/const void*Chris Robinson2018-11-191-6/+9
|
* Remove the CONST_CAST hackChris Robinson2018-11-191-29/+27
|
* Remove unused headers and checksChris Robinson2018-11-171-1/+0
|
* Convert ringbuffer.c to C++Chris Robinson2018-11-171-0/+295