mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Make nextFFTBlockReady flag atomic.
This commit is contained in:
parent
0dfaa98e86
commit
7eaf2d4a6e
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ private:
|
|||
float fifo [fftSize];
|
||||
float fftData [2 * fftSize];
|
||||
int fifoIndex = 0;
|
||||
bool nextFFTBlockReady = false;
|
||||
std::atomic<bool> nextFFTBlockReady = false;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SimpleFFTDemo)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue