mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 12:10:09 +02:00
Use a template argument for serializing behaviour
This keeps it a bit more readable.
This commit is contained in:
@@ -196,8 +196,8 @@ intptr_t PluginBridge::host_callback(AEffect* /*plugin*/,
|
||||
intptr_t value,
|
||||
void* data,
|
||||
float option) {
|
||||
return send_event(vst_host_callback, false, opcode, index, value, data,
|
||||
option, nullptr);
|
||||
return send_event<DefaultDataConverter>(vst_host_callback, opcode, index,
|
||||
value, data, option, std::nullopt);
|
||||
}
|
||||
|
||||
intptr_t VST_CALL_CONV host_callback_proxy(AEffect* effect,
|
||||
|
||||
Reference in New Issue
Block a user