Implement IUnitInfo::getProgramListCount

This commit is contained in:
Robbert van der Helm
2020-12-26 22:10:46 +01:00
parent 999cf45d6a
commit 92a7cb755a
6 changed files with 33 additions and 4 deletions
+5
View File
@@ -581,6 +581,11 @@ void Vst3Bridge::run() {
return YaUnitInfo::GetUnitInfoResponse{.result = result,
.info = info};
},
[&](const YaUnitInfo::GetProgramListCount& request)
-> YaUnitInfo::GetProgramListCount::Response {
return object_instances[request.instance_id]
.unit_info->getProgramListCount();
},
});
}