diff --git a/CHANGELOG.md b/CHANGELOG.md index b9817159..908b068a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,11 @@ Versioning](https://semver.org/spec/v2.0.0.html). - As part of the communication rework the way the Wine process handles threading has also been completely reworked. +- GUI updates for plugins that don't use hardware acceleration are now run at 60 + Hz instead of 30 Hz. This was kept at 30 updates per second because that + seemed to be a typical rate for Windows VST hosts and because function calls + could not be processed while the GUI was being updated, but since that + limitation now no longer exists we can safely bump this up. ### Removed diff --git a/src/wine-host/utils.h b/src/wine-host/utils.h index 3b00e95f..5c5a14ed 100644 --- a/src/wine-host/utils.h +++ b/src/wine-host/utils.h @@ -32,11 +32,12 @@ #include /** - * The delay between calls to the event loop at an even more than cinematic 30 - * fps. + * The delay between calls to the event loop so we can keep a nice 60 fps. We + * could bump this up to the monitor's refresh rate, but I'm afraid that it will + * start to noticeably take up resources in plugin groups. */ constexpr std::chrono::duration event_loop_interval = - std::chrono::milliseconds(1000) / 30; + std::chrono::milliseconds(1000) / 60; /** * A wrapper around `boost::asio::io_context()` to serve as the application's