mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-15 13:00:02 +02:00
Also disable realtime priority during effEditGetRect
Since on some hosts this is called before effEditOpen.
This commit is contained in:
@@ -413,6 +413,14 @@ intptr_t Vst2Bridge::dispatch_wrapper(AEffect* plugin,
|
||||
|
||||
return return_value;
|
||||
} break;
|
||||
case effEditGetRect: {
|
||||
set_realtime_priority(false);
|
||||
const intptr_t return_value =
|
||||
plugin->dispatcher(plugin, opcode, index, value, data, option);
|
||||
set_realtime_priority(true);
|
||||
|
||||
return return_value;
|
||||
} break;
|
||||
default:
|
||||
return plugin->dispatcher(plugin, opcode, index, value, data,
|
||||
option);
|
||||
|
||||
Reference in New Issue
Block a user