mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-23 09:49:34 -10:00
buffer_size is the staging block plus the device queue the channel setup reports, and write_avail what a non-blocking write takes now: the rest of the staging block and the whole blocks the queue has room for, from the channel status. The rate control steers the room to half the size, which a room limited to the staging block could never reach. The staging is one block, since snd_pcm_write copies it out. The qsa lane's mock reports the queue in the channel status, and the suite checks write_avail against what each write actually takes as the device drains.