mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Implement IUnitInfo::getSelectedUnit
This commit is contained in:
@@ -639,6 +639,11 @@ void Vst3Bridge::run() {
|
||||
return YaUnitInfo::GetProgramPitchNameResponse{
|
||||
.result = result, .name = tchar_pointer_to_u16string(name)};
|
||||
},
|
||||
[&](const YaUnitInfo::GetSelectedUnit& request)
|
||||
-> YaUnitInfo::GetSelectedUnit::Response {
|
||||
return object_instances[request.instance_id]
|
||||
.unit_info->getSelectedUnit();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user