aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_ringbuffer.h
AgeCommit message (Collapse)Author
2022-06-23fix threading errors-
rearrange the cross-thread load to be the second load; being a little late may cause it to be lucky! (this probably doesn't matter)
2021-07-28Run .clang-formatChun-Min Chang
Format all the code under `include` and `src` except those files under `src/speex` with style setting in `.clang-format` file by the following script: ```sh FILE_LIST="$(find "include" "src" -not -path "src/speex/*" | grep -E ".*(\.cpp|\.c|\.h|\.hpp|\.hh)$")" echo "Files found to format:\n---\n$FILE_LIST\n---" clang-format --verbose -i $FILE_LIST ```
2021-05-06memory_order_relaxed has changed in c++20Tomas Maly
2017-08-31Fix release builds after 42404c88.Matthew Gregan
2017-08-29Add a thread reset API for the ring buffer class.Paul Adenot
This allow reseting the consumer/producer thread id in the ring buffer class, so that we can take into account the change in thread inherent to the audio devices changes. This fixes #320.
2017-03-21Annotate ring_buffer_base's atomics with appropriate memory ordering.Matthew Gregan
This avoid generating unnecessary barriers beyond those that are needed to provide the required memory consistency.
2017-03-21Remove templated non-thread-safety from ring_buffer_base.Matthew Gregan
2016-12-01Implement a lock-free single consumer single producer queue.Paul Adenot