mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 12:30:12 +02:00
Add logging for IParameterFunctionName
This commit is contained in:
@@ -511,6 +511,20 @@ bool Vst3Logger::log_request(bool is_host_vst,
|
||||
});
|
||||
}
|
||||
|
||||
bool Vst3Logger::log_request(
|
||||
bool is_host_vst,
|
||||
const YaParameterFunctionName::GetParameterIDFromFunctionName& request) {
|
||||
return log_request_base(is_host_vst, [&](auto& message) {
|
||||
message << request.instance_id
|
||||
<< ": "
|
||||
"IParameterFunctionName::getParameterIDFromFunctionName("
|
||||
"unitID = "
|
||||
<< request.unit_id
|
||||
<< ", functionName = " << request.function_name
|
||||
<< ", ¶mID)";
|
||||
});
|
||||
}
|
||||
|
||||
bool Vst3Logger::log_request(
|
||||
bool is_host_vst,
|
||||
const YaPlugView::IsPlatformTypeSupported& request) {
|
||||
@@ -1518,7 +1532,19 @@ void Vst3Logger::log_response(
|
||||
log_response_base(is_host_vst, [&](auto& message) {
|
||||
message << response.result.string();
|
||||
if (response.result == Steinberg::kResultOk) {
|
||||
message << response.result_tag;
|
||||
message << ", " << response.result_tag;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(
|
||||
bool is_host_vst,
|
||||
const YaParameterFunctionName::GetParameterIDFromFunctionNameResponse&
|
||||
response) {
|
||||
log_response_base(is_host_vst, [&](auto& message) {
|
||||
message << response.result.string();
|
||||
if (response.result == Steinberg::kResultOk) {
|
||||
message << ", " << response.param_id;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -128,6 +128,9 @@ class Vst3Logger {
|
||||
bool is_host_vst,
|
||||
const YaNoteExpressionPhysicalUIMapping::GetNotePhysicalUIMapping&);
|
||||
bool log_request(bool is_host_vst, const YaParameterFinder::FindParameter&);
|
||||
bool log_request(
|
||||
bool is_host_vst,
|
||||
const YaParameterFunctionName::GetParameterIDFromFunctionName&);
|
||||
bool log_request(bool is_host_vst,
|
||||
const YaPlugView::IsPlatformTypeSupported&);
|
||||
bool log_request(bool is_host_vst, const YaPlugView::Attached&);
|
||||
@@ -270,6 +273,9 @@ class Vst3Logger {
|
||||
GetNotePhysicalUIMappingResponse&);
|
||||
void log_response(bool is_host_vst,
|
||||
const YaParameterFinder::FindParameterResponse&);
|
||||
void log_response(
|
||||
bool is_host_vst,
|
||||
const YaParameterFunctionName::GetParameterIDFromFunctionNameResponse&);
|
||||
void log_response(bool is_host_vst, const YaPlugView::GetSizeResponse&);
|
||||
void log_response(bool is_host_vst,
|
||||
const YaPlugView::CheckSizeConstraintResponse&);
|
||||
|
||||
Reference in New Issue
Block a user