FxMixer: fix crashes on modifying sends

Added a mutex so that the GUI thread can't change the sends around during the rendering loop.
This commit is contained in:
Vesa
2014-06-14 14:53:22 +03:00
parent 3319380cf6
commit 24bf336bf8
2 changed files with 9 additions and 4 deletions

View File

@@ -140,6 +140,7 @@ private:
// make sure we have at least num channels
void allocateChannelsTo(int num);
QMutex m_sendsMutex;
void addChannelLeaf( int _ch, sampleFrame * _buf );