mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CoreAudio: Fixed a data race on isWaitingForInput in DeviceWrapper
This commit is contained in:
parent
09ecc0ebef
commit
270e056e40
1 changed files with 2 additions and 1 deletions
|
|
@ -1986,7 +1986,8 @@ private:
|
|||
AudioIODeviceCombiner& owner;
|
||||
std::unique_ptr<CoreAudioIODevice> device;
|
||||
int inputIndex = 0, numInputChans = 0, outputIndex = 0, numOutputChans = 0;
|
||||
bool useInputs = false, useOutputs = false, isWaitingForInput = false;
|
||||
bool useInputs = false, useOutputs = false;
|
||||
std::atomic<bool> isWaitingForInput { false };
|
||||
AbstractFifo inputFifo { 32 }, outputFifo { 32 };
|
||||
bool done = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue