Also sync VST3 audio thread scheduling priorities

The exact same thing as the last commit, but for VST3 plugins.
This commit is contained in:
Robbert van der Helm
2021-01-23 15:22:10 +01:00
parent f03b9b1497
commit d5e4424463
6 changed files with 50 additions and 10 deletions
@@ -375,6 +375,13 @@ class Vst3PluginProxyImpl : public Vst3PluginProxy {
*/
Steinberg::IPtr<Steinberg::FUnknown> host_context;
/**
* We'll periodically synchronize the Wine host's audio thread priority with
* that of the host. Since the overhead from doing so does add up, we'll
* only do this every once in a while.
*/
time_t last_audio_thread_priority_synchronization = 0;
/**
* Used to assign unique identifiers to context menus created by
* `IComponentHandler3::CreateContextMenu`.