From f11bcfa4207745c73d606cade8f3c12dc69fb710 Mon Sep 17 00:00:00 2001 From: sonninnos Date: Sat, 20 May 2023 21:41:08 +0300 Subject: [PATCH] Wasapi + MIDI + Frame Delay correction --- midi_driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/midi_driver.c b/midi_driver.c index 847af90ed9..1bde5127b1 100644 --- a/midi_driver.c +++ b/midi_driver.c @@ -126,10 +126,10 @@ bool midi_driver_set_all_sounds_off(void) * work with WASAPI unless MIDI output is active, even when * MIDI is not used. Frame Delay also breaks if MIDI sounds * are "set off", which happens on menu toggle, therefore - * skip this if WASAPI is used and Frame Delay is effective.. */ + * skip this if WASAPI is used and Frame Delay is active.. */ if (string_is_equal(audio_state_get_ptr()->current_audio->ident, "wasapi")) { - if (video_state_get_ptr()->frame_delay_effective > 0) + if (video_state_get_ptr()->frame_delay_target > 0) return false; } #endif