devkitPro / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
11 stars 12 forks source link

Fix regression with stuttery audio after suspend #64

Closed rsn8887 closed 4 months ago

rsn8887 commented 4 months ago

The switch from audren back to audout caused a regression where audio is scratchy/stuttery after suspend, i.e. when the Switch is put to sleep and woken up while homebrew is playing audio.

This was a longstanding issue and one of the reasons why cpasjuste switched from audout to audren years ago.

Unless there are compelling issues to use audout instead of audren, and the scratchy audio on wake from suspend can be fixed, we should stick with audren.

Description

Reverted the commits that switched from audren back to audout.

Existing Issue(s)

None.

rsn8887 commented 4 months ago

I tested with a few homebrew (UAE4All2, ScummVM) that this indeed fixes the broken scratchy and stuttery audio after resuming from suspend.