mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Allow changing the event loop tick rate
This also changes the refresh rate for most plugins. You can now lower this setting if your computer is struggling to keep up with rendering a certain heavy plugin.
This commit is contained in:
@@ -75,6 +75,9 @@ Vst3Bridge::Vst3Bridge(MainContext& main_context,
|
||||
// process
|
||||
config = sockets.vst_host_callback.send_message(WantsConfiguration{},
|
||||
std::nullopt);
|
||||
|
||||
// Allow this plugin to configure the main context's tick rate
|
||||
main_context.update_timer_interval(config.event_loop_interval());
|
||||
}
|
||||
|
||||
void Vst3Bridge::run() {
|
||||
|
||||
Reference in New Issue
Block a user