mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
ea81928e39
* 🎵 Fast forward audio resampling. Solves #15160. Previously, we avoided doing any resampling while fastforwarding based on the assumption it was impossible to make the audio not crackle due to both flush-to-flush timing fluctuations and timer accuracy. However, turns out this is not the case. The audio doesn't "crackle" per se when the timing fluctuates! It's just that the sounds don't make sense since the time compression and decompression caused by the flush time fluctuations mess with the audio consistency. To work around that, we introduce a running average flush delta time that makes sure the audio is both resampled to approximately the correct rate and consistent. This was tested in two settings: - Limited rate fastforwarding (2x-4x) - Unlimited fastforwarding In both cases it seems to work well, but with unlimited fastforwarding it's just high pitched and annoying, so this is probably the most useful in the 2x to 4x range. * Move declartion to support C89 * resampling ratio upper and lower bounds * Add toggle for speeding up audio |
||
---|---|---|
.. | ||
cbs | ||
drivers | ||
menu_cbs.h | ||
menu_contentless_cores.c | ||
menu_defines.h | ||
menu_dialog.h | ||
menu_displaylist.c | ||
menu_displaylist.h | ||
menu_driver.c | ||
menu_driver.h | ||
menu_entries.h | ||
menu_explore.c | ||
menu_input_bind_dialog.h | ||
menu_input.h | ||
menu_screensaver.c | ||
menu_screensaver.h | ||
menu_setting.c | ||
menu_setting.h | ||
menu_shader.h |