mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Wasapi + MIDI + Frame Delay correction
This commit is contained in:
parent
98a255be16
commit
f11bcfa420
@ -126,10 +126,10 @@ bool midi_driver_set_all_sounds_off(void)
|
|||||||
* work with WASAPI unless MIDI output is active, even when
|
* work with WASAPI unless MIDI output is active, even when
|
||||||
* MIDI is not used. Frame Delay also breaks if MIDI sounds
|
* MIDI is not used. Frame Delay also breaks if MIDI sounds
|
||||||
* are "set off", which happens on menu toggle, therefore
|
* 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 (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;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user