Split up VST3 logging for UniversalTResult

I was wondering why I couldn't find the overload for `UniversalTResult`,
and as it turns out we would always use this variant (which
unsurprisingly was the very first overload added). We should of course
have separate overloads for this.
This commit is contained in:
Robbert van der Helm
2021-05-05 19:25:50 +02:00
parent 22d74e8b70
commit 75006a537b
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -1399,6 +1399,12 @@ void Vst3Logger::log_response(bool is_host_vst, const Ack&) {
log_response_base(is_host_vst, [&](auto& message) { message << "ACK"; }); log_response_base(is_host_vst, [&](auto& message) { message << "ACK"; });
} }
void Vst3Logger::log_response(bool is_host_vst,
const UniversalTResult& result) {
log_response_base(is_host_vst,
[&](auto& message) { message << result.string(); });
}
void Vst3Logger::log_response( void Vst3Logger::log_response(
bool is_host_vst, bool is_host_vst,
const Vst3PluginFactoryProxy::ConstructArgs& args) { const Vst3PluginFactoryProxy::ConstructArgs& args) {
+1
View File
@@ -242,6 +242,7 @@ class Vst3Logger {
const YaUnitHandler2::NotifyUnitByBusChange&); const YaUnitHandler2::NotifyUnitByBusChange&);
void log_response(bool is_host_vst, const Ack&); void log_response(bool is_host_vst, const Ack&);
void log_response(bool is_host_vst, const UniversalTResult&);
void log_response(bool is_host_vst, void log_response(bool is_host_vst,
const Vst3PluginFactoryProxy::ConstructArgs&); const Vst3PluginFactoryProxy::ConstructArgs&);
void log_response( void log_response(