mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Implement IUnitInfo::getProgramListCount
This commit is contained in:
@@ -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();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user