Fix producing of NaN from Env/LFO parameter change while playing (#3761)

Guarantee thread safety to ensure fillLevel() not to read value from
wrong buffer address.
This commit is contained in:
Hyunjin Song
2017-08-12 10:16:34 +09:00
committed by GitHub
parent 4d044439ab
commit 88cc58600c
2 changed files with 5 additions and 0 deletions

View File

@@ -121,6 +121,7 @@ private:
static LfoInstances * s_lfoInstances;
bool m_used;
QMutex m_paramMutex;
FloatModel m_predelayModel;
FloatModel m_attackModel;