mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Add logging for IXmlRepresentationController
This commit is contained in:
@@ -752,6 +752,18 @@ bool Vst3Logger::log_request(bool is_host_vst,
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Vst3Logger::log_request(
|
||||||
|
bool is_host_vst,
|
||||||
|
const YaXmlRepresentationController::GetXmlRepresentationStream& request) {
|
||||||
|
return log_request_base(is_host_vst, [&](auto& message) {
|
||||||
|
message << request.instance_id
|
||||||
|
<< ": "
|
||||||
|
"IXmlRepresentationController::getXmlRepresentationStream("
|
||||||
|
"info = <RepresentationInfo for \""
|
||||||
|
<< request.info.name << "\">, stream = <IBstream*>)";
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
bool Vst3Logger::log_request(
|
bool Vst3Logger::log_request(
|
||||||
bool is_host_vst,
|
bool is_host_vst,
|
||||||
const YaAudioProcessor::SetBusArrangements& request) {
|
const YaAudioProcessor::SetBusArrangements& request) {
|
||||||
@@ -1450,6 +1462,19 @@ void Vst3Logger::log_response(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Vst3Logger::log_response(
|
||||||
|
bool is_host_vst,
|
||||||
|
const YaXmlRepresentationController::GetXmlRepresentationStreamResponse&
|
||||||
|
response) {
|
||||||
|
log_response_base(is_host_vst, [&](auto& message) {
|
||||||
|
message << response.result.string();
|
||||||
|
if (response.result == Steinberg::kResultOk) {
|
||||||
|
message << ", <IBStream* containing " << response.stream.size()
|
||||||
|
<< " bytes>";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
void Vst3Logger::log_response(
|
void Vst3Logger::log_response(
|
||||||
bool is_host_vst,
|
bool is_host_vst,
|
||||||
const YaAudioProcessor::GetBusArrangementResponse& response) {
|
const YaAudioProcessor::GetBusArrangementResponse& response) {
|
||||||
|
|||||||
@@ -157,6 +157,9 @@ class Vst3Logger {
|
|||||||
bool log_request(bool is_host_vst, const YaUnitInfo::SelectUnit&);
|
bool log_request(bool is_host_vst, const YaUnitInfo::SelectUnit&);
|
||||||
bool log_request(bool is_host_vst, const YaUnitInfo::GetUnitByBus&);
|
bool log_request(bool is_host_vst, const YaUnitInfo::GetUnitByBus&);
|
||||||
bool log_request(bool is_host_vst, const YaUnitInfo::SetUnitProgramData&);
|
bool log_request(bool is_host_vst, const YaUnitInfo::SetUnitProgramData&);
|
||||||
|
bool log_request(
|
||||||
|
bool is_host_vst,
|
||||||
|
const YaXmlRepresentationController::GetXmlRepresentationStream&);
|
||||||
|
|
||||||
bool log_request(bool is_host_vst,
|
bool log_request(bool is_host_vst,
|
||||||
const YaAudioProcessor::SetBusArrangements&);
|
const YaAudioProcessor::SetBusArrangements&);
|
||||||
@@ -256,6 +259,9 @@ class Vst3Logger {
|
|||||||
const YaUnitInfo::GetProgramPitchNameResponse&);
|
const YaUnitInfo::GetProgramPitchNameResponse&);
|
||||||
void log_response(bool is_host_vst,
|
void log_response(bool is_host_vst,
|
||||||
const YaUnitInfo::GetUnitByBusResponse&);
|
const YaUnitInfo::GetUnitByBusResponse&);
|
||||||
|
void log_response(bool is_host_vst,
|
||||||
|
const YaXmlRepresentationController::
|
||||||
|
GetXmlRepresentationStreamResponse&);
|
||||||
|
|
||||||
void log_response(bool is_host_vst,
|
void log_response(bool is_host_vst,
|
||||||
const YaAudioProcessor::GetBusArrangementResponse&);
|
const YaAudioProcessor::GetBusArrangementResponse&);
|
||||||
|
|||||||
Reference in New Issue
Block a user