mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-11 06:42:11 +02:00
Don't serialize input info for IEditController::getParameterInfo
This commit is contained in:
@@ -1417,7 +1417,7 @@ void Vst3Logger::log_response(
|
||||
message << response.result.string();
|
||||
if (response.result == Steinberg::kResultOk) {
|
||||
std::string param_title =
|
||||
VST3::StringConvert::convert(response.updated_info.title);
|
||||
VST3::StringConvert::convert(response.info.title);
|
||||
message << ", <ParameterInfo for '" << param_title << "'>";
|
||||
if (from_cache) {
|
||||
message << " (from cache)";
|
||||
|
||||
@@ -118,12 +118,12 @@ class YaEditController : public Steinberg::Vst::IEditController {
|
||||
*/
|
||||
struct GetParameterInfoResponse {
|
||||
UniversalTResult result;
|
||||
Steinberg::Vst::ParameterInfo updated_info;
|
||||
Steinberg::Vst::ParameterInfo info;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.object(result);
|
||||
s.object(updated_info);
|
||||
s.object(info);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -138,13 +138,11 @@ class YaEditController : public Steinberg::Vst::IEditController {
|
||||
native_size_t instance_id;
|
||||
|
||||
int32 param_index;
|
||||
Steinberg::Vst::ParameterInfo info;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.value8b(instance_id);
|
||||
s.value4b(param_index);
|
||||
s.object(info);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user