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
@@ -458,9 +458,8 @@ Vst3PluginProxyImpl::getUnitInfo(int32 unitIndex,
}
int32 PLUGIN_API Vst3PluginProxyImpl::getProgramListCount() {
// TODO: Implement
bridge.logger.log("TODO: IUnitInfo::getProgramListCount()");
return Steinberg::kNotImplemented;
return bridge.send_message(
YaUnitInfo::GetProgramListCount{.instance_id = instance_id()});
}
tresult PLUGIN_API Vst3PluginProxyImpl::getProgramListInfo(