Get rid of hack_reaper_update_display

It is now no longer necessary.
This commit is contained in:
Robbert van der Helm
2020-10-26 22:22:21 +01:00
parent 5b00ddb0c4
commit e51c7f7ae3
5 changed files with 8 additions and 56 deletions
-10
View File
@@ -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);