mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Linux: Fixed a data race in the ALSA code
This commit is contained in:
parent
685dc4fd78
commit
da552112a8
1 changed files with 1 additions and 1 deletions
|
|
@ -791,7 +791,7 @@ private:
|
|||
//==============================================================================
|
||||
const String inputId, outputId;
|
||||
std::unique_ptr<ALSADevice> outputDevice, inputDevice;
|
||||
int numCallbacks = 0;
|
||||
std::atomic<int> numCallbacks { 0 };
|
||||
bool audioIoInProgress = false;
|
||||
|
||||
CriticalSection callbackLock;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue