mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 20:10:13 +02:00
Temporarily memoize IPlugView::canResize()
This makes VST3 plugin resizing more responsive, because this function would otherwise be constantly running in lockstep from the GUI thread.
This commit is contained in:
@@ -1400,9 +1400,14 @@ void Vst3Logger::log_response(bool is_host_vst, const Ack&) {
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(bool is_host_vst,
|
||||
const UniversalTResult& result) {
|
||||
log_response_base(is_host_vst,
|
||||
[&](auto& message) { message << result.string(); });
|
||||
const UniversalTResult& result,
|
||||
bool from_cache) {
|
||||
log_response_base(is_host_vst, [&](auto& message) {
|
||||
message << result.string();
|
||||
if (from_cache) {
|
||||
message << " (from cache)";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(
|
||||
|
||||
Reference in New Issue
Block a user