1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-27 02:20:05 +00:00
JUCE/modules/juce_audio_devices
reuk 93063de28d
CoreAudio: Avoid data race on fifo storage
Previously, whenever the output device sample time changed from
'invalid' to 'valid', the AudioBuffer fifo in the AudioIODeviceCombiner
was cleared. This caused a data race, since the clear operation was not
mutually exclusive with writes from the input device.

This change causes the AudioIODeviceCombiner to keep track of the
timestamp of the first input device callback after the output device is
invalidated. The output device is unable to read from the fifo until its
timestamp exceeds the stored input device callback timestamp.
2022-12-14 15:12:17 +00:00
..
audio_io Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
midi_io Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
native CoreAudio: Avoid data race on fifo storage 2022-12-14 15:12:17 +00:00
sources Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
juce_audio_devices.cpp Android: Fix build issues with OpenSL 2022-12-14 11:12:32 +00:00
juce_audio_devices.h Bump version number to 7.0.3 2022-11-29 11:04:54 +00:00
juce_audio_devices.mm Update copyright banners 2022-04-04 12:36:32 +01:00