mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Get rid of hack_reaper_update_display
It is now no longer necessary.
This commit is contained in:
@@ -559,16 +559,6 @@ intptr_t Vst2Bridge::host_callback(AEffect* effect,
|
||||
intptr_t value,
|
||||
void* data,
|
||||
float option) {
|
||||
// HACK: Sadly this is needed to work around a mutual recursion issue with
|
||||
// REAPER and Renoise. See #29 and #32.
|
||||
// TODO: We don't have access to the verbosity level here, but it would be
|
||||
// nice to log that this is being skipped when `YABRIDGE_DEBUG_LEVEL
|
||||
// >= 2`.
|
||||
if (config.hack_reaper_update_display &&
|
||||
opcode == audioMasterUpdateDisplay) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
HostCallbackDataConverter converter(effect, time_info);
|
||||
return sockets.vst_host_callback.send(converter, std::nullopt, opcode,
|
||||
index, value, data, option);
|
||||
|
||||
Reference in New Issue
Block a user