mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-14 23:43:52 +02:00
Add logging for IPrefetchableSupport
This commit is contained in:
@@ -1016,6 +1016,16 @@ bool Vst3Logger::log_request(bool is_host_vst,
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Vst3Logger::log_request(
|
||||||
|
bool is_host_vst,
|
||||||
|
const YaPrefetchableSupport::GetPrefetchableSupport& request) {
|
||||||
|
return log_request_base(is_host_vst, [&](auto& message) {
|
||||||
|
message
|
||||||
|
<< request.instance_id
|
||||||
|
<< ": IPrefetchableSupport::getPrefetchableSupport(&prefetchable)";
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
bool Vst3Logger::log_request(bool is_host_vst,
|
bool Vst3Logger::log_request(bool is_host_vst,
|
||||||
const Vst3ContextMenuProxy::Destruct& request) {
|
const Vst3ContextMenuProxy::Destruct& request) {
|
||||||
return log_request_base(is_host_vst, [&](auto& message) {
|
return log_request_base(is_host_vst, [&](auto& message) {
|
||||||
@@ -1605,6 +1615,17 @@ void Vst3Logger::log_response(
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Vst3Logger::log_response(
|
||||||
|
bool is_host_vst,
|
||||||
|
const YaPrefetchableSupport::GetPrefetchableSupportResponse& response) {
|
||||||
|
log_response_base(is_host_vst, [&](auto& message) {
|
||||||
|
message << response.result.string();
|
||||||
|
if (response.result == Steinberg::kResultOk) {
|
||||||
|
message << ", " << response.prefetchable;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
void Vst3Logger::log_response(
|
void Vst3Logger::log_response(
|
||||||
bool is_host_vst,
|
bool is_host_vst,
|
||||||
const YaComponentHandler3::CreateContextMenuResponse& response) {
|
const YaComponentHandler3::CreateContextMenuResponse& response) {
|
||||||
|
|||||||
@@ -184,6 +184,8 @@ class Vst3Logger {
|
|||||||
bool log_request(bool is_host_vst, const YaComponent::GetRoutingInfo&);
|
bool log_request(bool is_host_vst, const YaComponent::GetRoutingInfo&);
|
||||||
bool log_request(bool is_host_vst, const YaComponent::ActivateBus&);
|
bool log_request(bool is_host_vst, const YaComponent::ActivateBus&);
|
||||||
bool log_request(bool is_host_vst, const YaComponent::SetActive&);
|
bool log_request(bool is_host_vst, const YaComponent::SetActive&);
|
||||||
|
bool log_request(bool is_host_vst,
|
||||||
|
const YaPrefetchableSupport::GetPrefetchableSupport&);
|
||||||
|
|
||||||
bool log_request(bool is_host_vst, const Vst3ContextMenuProxy::Destruct&);
|
bool log_request(bool is_host_vst, const Vst3ContextMenuProxy::Destruct&);
|
||||||
bool log_request(bool is_host_vst, const WantsConfiguration&);
|
bool log_request(bool is_host_vst, const WantsConfiguration&);
|
||||||
@@ -276,6 +278,9 @@ class Vst3Logger {
|
|||||||
void log_response(bool is_host_vst, const YaComponent::GetBusInfoResponse&);
|
void log_response(bool is_host_vst, const YaComponent::GetBusInfoResponse&);
|
||||||
void log_response(bool is_host_vst,
|
void log_response(bool is_host_vst,
|
||||||
const YaComponent::GetRoutingInfoResponse&);
|
const YaComponent::GetRoutingInfoResponse&);
|
||||||
|
void log_response(
|
||||||
|
bool is_host_vst,
|
||||||
|
const YaPrefetchableSupport::GetPrefetchableSupportResponse&);
|
||||||
|
|
||||||
void log_response(bool is_host_vst,
|
void log_response(bool is_host_vst,
|
||||||
const YaComponentHandler3::CreateContextMenuResponse&);
|
const YaComponentHandler3::CreateContextMenuResponse&);
|
||||||
|
|||||||
Reference in New Issue
Block a user