aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcRing.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove const from _Atomic vars to make Clang happyChris Robinson2017-04-211-8/+12
| | | | | | | | Clang does not allow using C11's atomic_load on const _Atomic variables. Previously it just disabled use of C11 atomics if atomic_load didn't work on a const _Atomic variable, but I think I'd prefer to have Clang use C11 atomics for the added features (more explicit memory ordering) even if it means a few instances of breaking const.
* Clean up some ringbuffer atomic callsChris Robinson2016-11-031-17/+22
|
* Remove the explicit type from ATOMIC_ADD and ATOMIC_SUBChris Robinson2016-11-031-2/+2
|
* Use proper atomics for the lockless ringbufferChris Robinson2016-11-031-42/+49
|
* Remove the old ringbuffer implementationChris Robinson2016-03-301-101/+0
|
* Move the aligned malloc functions to the common libChris Robinson2016-03-291-0/+1
|
* Fix some ringbuffer function commentsChris Robinson2015-02-071-4/+4
|
* Update some function comments (bytes -> elements)Chris Robinson2014-12-241-7/+8
|
* Add a lockless ringbufferChris Robinson2014-12-231-0/+271
| | | | | | Largely copied from JACK, it's extended to work with user-specified element sizes instead of bytes. This is necessary to be able to work with 6- and 7- channel output modes.
* Update COPYING to the latest ↵François Cami2014-08-181-2/+2
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Use a C11-like mutex wrapper instead of CRITICAL_SECTIONsChris Robinson2014-04-161-9/+10
|
* Move the device mutex to the backendChris Robinson2013-10-281-0/+1
|
* Avoid a junk sample at the start of the ring buffer, and allocate the bufferChris Robinson2011-06-271-11/+7
| | | | memory at the end of the ring buffer itself.
* Don't overwrite data when the ring buffer overflowsChris Robinson2010-06-041-12/+18
|
* Protect ring buffer access with the lockChris Robinson2009-06-071-2/+4
|
* Protect RingBufferSize calculation with the mutexChris Robinson2008-06-041-2/+7
|
* Add missing config.h includesChris Robinson2008-01-161-2/+2
|
* Fix ring buffer size and overrun detectionChris Robinson2007-12-161-3/+3
|
* Add generic ring buffer methodsChris Robinson2007-12-161-0/+118