mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
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:
@@ -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) {
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user