diff --git a/src/common/logging/vst3.cpp b/src/common/logging/vst3.cpp index 73354ee0..84df8386 100644 --- a/src/common/logging/vst3.cpp +++ b/src/common/logging/vst3.cpp @@ -601,6 +601,17 @@ bool Vst3Logger::log_request(bool is_host_vst, }); } +bool Vst3Logger::log_request( + bool is_host_vst, + const YaPlugViewContentScaleSupport::SetContentScaleFactor& request) { + return log_request_base(is_host_vst, [&](auto& message) { + message + << request.owner_instance_id + << ": IPlugViewContentScaleSupport::setContentScaleFactor(factor = " + << request.factor << ")"; + }); +} + bool Vst3Logger::log_request(bool is_host_vst, const YaPluginBase::Initialize& request) { return log_request_base(is_host_vst, [&](auto& message) { diff --git a/src/common/logging/vst3.h b/src/common/logging/vst3.h index 54bf818e..4181cc4d 100644 --- a/src/common/logging/vst3.h +++ b/src/common/logging/vst3.h @@ -136,6 +136,9 @@ class Vst3Logger { bool log_request(bool is_host_vst, const YaPlugView::SetFrame&); bool log_request(bool is_host_vst, const YaPlugView::CanResize&); bool log_request(bool is_host_vst, const YaPlugView::CheckSizeConstraint&); + bool log_request( + bool is_host_vst, + const YaPlugViewContentScaleSupport::SetContentScaleFactor&); bool log_request(bool is_host_vst, const YaPluginBase::Initialize&); bool log_request(bool is_host_vst, const YaPluginBase::Terminate&); bool log_request(bool is_host_vst, const YaPluginFactory::Construct&);