This PR makes the following improvements to the core's frame skip functionality:
The new RETRO_ENVIRONMENT_SET_MINIMUM_AUDIO_LATENCY environment callback (https://github.com/libretro/RetroArch/pull/11462) is used to increase the frontend audio latency while frame skipping is active. Frame skip 'just works' now, without requiring the user to manually set a latency override.
The Frameskip core option now has only 3 values: OFF, Auto and Manual
When Frameskip is set to Manual, a new Frameskip Threshold (%) option allows fine control of the audio buffer occupancy level below which frames are skipped. (I found this degree of control to be necessary in some cases, since different audio drivers maintain different average occupancies)
This PR makes the following improvements to the core's frame skip functionality:
The new
RETRO_ENVIRONMENT_SET_MINIMUM_AUDIO_LATENCY
environment callback (https://github.com/libretro/RetroArch/pull/11462) is used to increase the frontend audio latency while frame skipping is active. Frame skip 'just works' now, without requiring the user to manually set a latency override.The
Frameskip
core option now has only 3 values:OFF
,Auto
andManual
When
Frameskip
is set toManual
, a newFrameskip Threshold (%)
option allows fine control of the audio buffer occupancy level below which frames are skipped. (I found this degree of control to be necessary in some cases, since different audio drivers maintain different average occupancies)