mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-24 18:45:38 -10:00
write_avail() is asked every frame, and a device that has gone away failed SNDCTL_DSP_GETOSPACE every frame, each failure a logged error; it now reports no room without a line. buffer_size() answers 0 when the device cannot say, which turns rate control off for the session as audio_driver.h has it, where the 1 it answered gave the rate control a setpoint of half a byte. samples/audio/oss_report includes the driver over Linux's soundcard.h and asks both of a closed descriptor for a second of frames.