Add the ability to override writing back data

This commit is contained in:
Robbert van der Helm
2020-03-09 23:36:54 +01:00
parent ec96064cc1
commit 7e75f913fa
3 changed files with 36 additions and 29 deletions
+3 -2
View File
@@ -195,8 +195,9 @@ intptr_t PluginBridge::host_callback(AEffect* /*plugin*/,
intptr_t value,
void* data,
float option) {
return send_event<DefaultDataConverter>(vst_host_callback, opcode, index,
value, data, option, std::nullopt);
DefaultDataConverter converter;
return send_event(vst_host_callback, converter, opcode, index, value, data,
option, std::nullopt);
}
intptr_t VST_CALL_CONV host_callback_proxy(AEffect* effect,