mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-22 01:33:23 -10:00
A core with an audio callback runs behind the threaded wrapper, which keeps the device blocking whatever the menu asks. At Menu Frame Rate 'Display Rate' the menu feeds silence by the clock, so it now writes only what the device takes without waiting, keeping half its buffer, and does not make up time the device could not take. The recording still receives every frame. The menu runs at the display's rate behind such cores again. samples/audio/menu_callback_feed holds the feed against a device that counts every write that would have blocked. Fixes #19971