Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove const from _Atomic vars to make Clang happy | Chris Robinson | 2017-04-21 | 1 | -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 calls | Chris Robinson | 2016-11-03 | 1 | -17/+22 |
| | |||||
* | Remove the explicit type from ATOMIC_ADD and ATOMIC_SUB | Chris Robinson | 2016-11-03 | 1 | -2/+2 |
| | |||||
* | Use proper atomics for the lockless ringbuffer | Chris Robinson | 2016-11-03 | 1 | -42/+49 |
| | |||||
* | Remove the old ringbuffer implementation | Chris Robinson | 2016-03-30 | 1 | -101/+0 |
| | |||||
* | Move the aligned malloc functions to the common lib | Chris Robinson | 2016-03-29 | 1 | -0/+1 |
| | |||||
* | Fix some ringbuffer function comments | Chris Robinson | 2015-02-07 | 1 | -4/+4 |
| | |||||
* | Update some function comments (bytes -> elements) | Chris Robinson | 2014-12-24 | 1 | -7/+8 |
| | |||||
* | Add a lockless ringbuffer | Chris Robinson | 2014-12-23 | 1 | -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 Cami | 2014-08-18 | 1 | -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_SECTIONs | Chris Robinson | 2014-04-16 | 1 | -9/+10 |
| | |||||
* | Move the device mutex to the backend | Chris Robinson | 2013-10-28 | 1 | -0/+1 |
| | |||||
* | Avoid a junk sample at the start of the ring buffer, and allocate the buffer | Chris Robinson | 2011-06-27 | 1 | -11/+7 |
| | | | | memory at the end of the ring buffer itself. | ||||
* | Don't overwrite data when the ring buffer overflows | Chris Robinson | 2010-06-04 | 1 | -12/+18 |
| | |||||
* | Protect ring buffer access with the lock | Chris Robinson | 2009-06-07 | 1 | -2/+4 |
| | |||||
* | Protect RingBufferSize calculation with the mutex | Chris Robinson | 2008-06-04 | 1 | -2/+7 |
| | |||||
* | Add missing config.h includes | Chris Robinson | 2008-01-16 | 1 | -2/+2 |
| | |||||
* | Fix ring buffer size and overrun detection | Chris Robinson | 2007-12-16 | 1 | -3/+3 |
| | |||||
* | Add generic ring buffer methods | Chris Robinson | 2007-12-16 | 1 | -0/+118 |