Factor out the serializer for event payloads

This commit is contained in:
Robbert van der Helm
2020-03-09 21:44:44 +01:00
parent 8dad15b597
commit 96d0428d56
2 changed files with 18 additions and 14 deletions
+1
View File
@@ -182,6 +182,7 @@ intptr_t HostBridge::dispatch(AEffect* /*plugin*/,
break;
}
// TODO: Maybe reuse buffers here when dealing with chunk data
return send_event<DispatchDataConverter>(
host_vst_dispatch, opcode, index, value, data, option,
std::pair<Logger&, bool>(logger, true));