add SDL2 audio backend
commita24b9df4f9853de378cca7ff466803e03f9a6234
authorrofl0r <rofl0r@users.noreply.github.com>
Sun, 29 Aug 2021 00:27:15 +0000 (29 00:27 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Sun, 29 Aug 2021 08:50:13 +0000 (29 08:50 +0000)
tree34ae2a39822e0615ac7611d81dc8c419a0a0d497
parent8e7711c038e330f72e368bd56cd8620b2d06f5c5
add SDL2 audio backend

initially the plan was to just re-use the SDL1 one, as it compiles
without change, but then i found that SDL2 can use a push rather
than an pull model, and the changes for using it were sufficiently
intrusive to justify adding a separate file.
Makefile.in
sys/sdl/sdl-audio.c
sys/sdl2/sdl-audio.c [copied from sys/sdl/sdl-audio.c with 58% similarity]