Switch to using Juce CriticalSection in StretchSource. Especially when used with tryEnter, seems to help the audio glitches a lot, even when running under the debugger...
This commit is contained in:
@ -128,7 +128,7 @@ private:
|
||||
int64_t m_maxloops = 0;
|
||||
std::unique_ptr<WDL_Resampler> m_resampler;
|
||||
std::vector<double> m_resampler_outbuf;
|
||||
std::recursive_mutex m_mutex;
|
||||
CriticalSection m_cs;
|
||||
std::vector<int> m_specproc_order;
|
||||
bool m_stop_play_requested = false;
|
||||
double m_freeze_pos = 0.0;
|
||||
|
Reference in New Issue
Block a user