Use Juce CriticalSection for main audio processor too. Use tryEnter for changing main volume parameter. Looks like it's best to do the tryEnter stuff for everything possible...
This commit is contained in:
@ -104,7 +104,7 @@ private:
|
||||
void finishRecording(int lenrecorded);
|
||||
bool m_using_memory_buffer = true;
|
||||
int m_cur_num_out_chans = 2;
|
||||
std::mutex m_mutex;
|
||||
CriticalSection m_cs;
|
||||
File m_current_file;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user