mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Implement IEditController::getParamStringByValue()
This commit is contained in:
@@ -295,6 +295,17 @@ void Vst3Logger::log_request(
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_request(
|
||||
bool is_host_vst,
|
||||
const YaEditController2::GetParamStringByValue& request) {
|
||||
log_request_base(is_host_vst, [&](auto& message) {
|
||||
message << "<IEditController* #" << request.instance_id
|
||||
<< ">::getParamStringByValue(id = " << request.id
|
||||
<< ", valueNormalized = " << request.value_normalized
|
||||
<< ", &string)";
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_request(bool is_host_vst,
|
||||
const YaPluginBase::Initialize& request) {
|
||||
log_request_base(is_host_vst, [&](auto& message) {
|
||||
@@ -459,6 +470,18 @@ void Vst3Logger::log_response(
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(
|
||||
bool is_host_vst,
|
||||
const YaEditController2::GetParamStringByValueResponse& response) {
|
||||
log_response_base(is_host_vst, [&](auto& message) {
|
||||
message << response.result.string();
|
||||
if (response.result == Steinberg::kResultOk) {
|
||||
std::string title = VST3::StringConvert::convert(response.string);
|
||||
message << ", \"" << title << "\"";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(bool is_host_vst,
|
||||
const YaPluginFactory::ConstructArgs& args) {
|
||||
log_response_base(is_host_vst, [&](auto& message) {
|
||||
|
||||
@@ -85,6 +85,8 @@ class Vst3Logger {
|
||||
const YaEditController2::GetParameterCount&);
|
||||
void log_request(bool is_host_vst,
|
||||
const YaEditController2::GetParameterInfo&);
|
||||
void log_request(bool is_host_vst,
|
||||
const YaEditController2::GetParamStringByValue&);
|
||||
void log_request(bool is_host_vst, const YaPluginBase::Initialize&);
|
||||
void log_request(bool is_host_vst, const YaPluginBase::Terminate&);
|
||||
void log_request(bool is_host_vst, const YaPluginFactory::Construct&);
|
||||
@@ -106,6 +108,8 @@ class Vst3Logger {
|
||||
const YaComponent::GetRoutingInfoResponse&);
|
||||
void log_response(bool is_host_vst,
|
||||
const YaEditController2::GetParameterInfoResponse&);
|
||||
void log_response(bool is_host_vst,
|
||||
const YaEditController2::GetParamStringByValueResponse&);
|
||||
void log_response(bool is_host_vst, const YaPluginFactory::ConstructArgs&);
|
||||
void log_response(bool is_host_vst, const Configuration&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user