Inhibit event loop during VST3 offline processing

This prevents T-RackS 5 from causing the export in Bitwig Studio 4.1.0
beta 2 to freeze.
This commit is contained in:
Robbert van der Helm
2021-11-10 21:29:40 +01:00
parent 9682446fab
commit 5b3210eed6
3 changed files with 27 additions and 2 deletions
+8
View File
@@ -244,6 +244,14 @@ struct Vst3PluginInstance {
* have, but we'll just do this out of precaution.
*/
bool is_initialized = false;
/**
* Whether the plugin instance is currently in offline processing mode or
* not. Needed as a HACK for IK Multimedia's T-RackS 5 because those plugins
* will deadlock if they receive a timer proc on the Win32 message loop
* while doing offline processing.
*/
bool is_offline_processing = false;
};
/**