hold lock while dumping parameters
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1549 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,5 +1,15 @@
|
||||
2008-09-04 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
|
||||
|
||||
* plugins/vst_base/vst_plugin.cpp:
|
||||
hold lock while dumping parameters
|
||||
|
||||
* include/remote_plugin.h:
|
||||
* lmmsconfig.h.in:
|
||||
* CMakeLists.txt:
|
||||
- set common numeric locale to make atof() work properly in Germany
|
||||
- increased SHM_FIFO_SIZE from 4000 to 64000 for not getting stuck
|
||||
when exchanging bigger messages (e.g. parameter dumps)
|
||||
|
||||
* plugins/vst_base/vst_plugin.h:
|
||||
* plugins/vst_base/remote_vst_plugin.cpp:
|
||||
* plugins/vst_base/communication.h:
|
||||
|
||||
@@ -273,8 +273,10 @@ void vstPlugin::updateSampleRate( void )
|
||||
|
||||
const QMap<QString, QString> & vstPlugin::parameterDump( void )
|
||||
{
|
||||
lock();
|
||||
sendMessage( IdVstGetParameterDump );
|
||||
waitForMessage( IdVstParameterDump );
|
||||
unlock();
|
||||
|
||||
return( m_parameterDump );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user