mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-18 17:33:56 +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;
|
return return_value;
|
||||||
} break;
|
} 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:
|
default:
|
||||||
return plugin->dispatcher(plugin, opcode, index, value, data,
|
return plugin->dispatcher(plugin, opcode, index, value, data,
|
||||||
option);
|
option);
|
||||||
|
|||||||
Reference in New Issue
Block a user