Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sdlaudio: always clear the sample buffer
Always fill the remaining audio callback buffer with silence. SDL 2.0 doesn't initialize the audio callback buffer. This was an incompatible change compared to SDL 1.2. For reference read the SDL 1.2 to 2.0 migration guide. Signed-off-by: Volker Rümelin <[email protected]> Reviewed-by: Thomas Huth <[email protected]> Message-id: [email protected] Message-Id: <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
- Loading branch information