mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-19 18:03:56 +02:00
Add logging for the IParameterFinder messages
This commit is contained in:
@@ -359,6 +359,15 @@ bool Vst3Logger::log_request(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Vst3Logger::log_request(bool is_host_vst,
|
||||||
|
const YaParameterFinder::FindParameter& request) {
|
||||||
|
return log_request_base(is_host_vst, [&](auto& message) {
|
||||||
|
message << request.owner_instance_id
|
||||||
|
<< ": IParameterFinder::findParameter(xPos = " << request.x_pos
|
||||||
|
<< ", yPos = " << request.y_pos << ", &resultTag)";
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
bool Vst3Logger::log_request(
|
bool Vst3Logger::log_request(
|
||||||
bool is_host_vst,
|
bool is_host_vst,
|
||||||
const YaPlugView::IsPlatformTypeSupported& request) {
|
const YaPlugView::IsPlatformTypeSupported& request) {
|
||||||
@@ -1116,6 +1125,17 @@ void Vst3Logger::log_response(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Vst3Logger::log_response(
|
||||||
|
bool is_host_vst,
|
||||||
|
const YaParameterFinder::FindParameterResponse& response) {
|
||||||
|
log_response_base(is_host_vst, [&](auto& message) {
|
||||||
|
message << response.result.string();
|
||||||
|
if (response.result == Steinberg::kResultOk) {
|
||||||
|
message << response.result_tag;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
void Vst3Logger::log_response(bool is_host_vst,
|
void Vst3Logger::log_response(bool is_host_vst,
|
||||||
const YaPlugView::GetSizeResponse& response) {
|
const YaPlugView::GetSizeResponse& response) {
|
||||||
log_response_base(is_host_vst, [&](auto& message) {
|
log_response_base(is_host_vst, [&](auto& message) {
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ class Vst3Logger {
|
|||||||
bool log_request(
|
bool log_request(
|
||||||
bool is_host_vst,
|
bool is_host_vst,
|
||||||
const YaNoteExpressionController::GetNoteExpressionValueByString&);
|
const YaNoteExpressionController::GetNoteExpressionValueByString&);
|
||||||
|
bool log_request(bool is_host_vst, const YaParameterFinder::FindParameter&);
|
||||||
bool log_request(bool is_host_vst,
|
bool log_request(bool is_host_vst,
|
||||||
const YaPlugView::IsPlatformTypeSupported&);
|
const YaPlugView::IsPlatformTypeSupported&);
|
||||||
bool log_request(bool is_host_vst, const YaPlugView::Attached&);
|
bool log_request(bool is_host_vst, const YaPlugView::Attached&);
|
||||||
@@ -205,6 +206,8 @@ class Vst3Logger {
|
|||||||
void log_response(bool is_host_vst,
|
void log_response(bool is_host_vst,
|
||||||
const YaNoteExpressionController::
|
const YaNoteExpressionController::
|
||||||
GetNoteExpressionValueByStringResponse&);
|
GetNoteExpressionValueByStringResponse&);
|
||||||
|
void log_response(bool is_host_vst,
|
||||||
|
const YaParameterFinder::FindParameterResponse&);
|
||||||
void log_response(bool is_host_vst, const YaPlugView::GetSizeResponse&);
|
void log_response(bool is_host_vst, const YaPlugView::GetSizeResponse&);
|
||||||
void log_response(bool is_host_vst,
|
void log_response(bool is_host_vst,
|
||||||
const YaPlugView::CheckSizeConstraintResponse&);
|
const YaPlugView::CheckSizeConstraintResponse&);
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "../common.h"
|
#include "../common.h"
|
||||||
|
#include "plug-view/parameter-finder.h"
|
||||||
#include "plug-view/plug-view.h"
|
#include "plug-view/plug-view.h"
|
||||||
|
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
|||||||
Reference in New Issue
Block a user