quakeforge/libs/audio/targets
Bill Currie 79825db539 [audio] Clean up alsa init and add error checking
This gets the alsa target working nicely for mmapped outout. I'm not
certain, but I think it will even deal with NPOT buffer sizes (I copied
the code from libasound's sample pcm.c, thus the uncertainty).
Non-mmapped output isn't supported yet, but the alsa target now works
nicely for pull rendering.

However, some work still needs to be done for recovery failure: either
disable the sound system, or restart the driver entirely (preferable).
2021-06-25 09:50:31 +09:00
..
Makemodule.am [build] Move to non-recursive make 2020-06-25 11:35:37 +09:00
snd_alsa.c [audio] Clean up alsa init and add error checking 2021-06-25 09:50:31 +09:00
snd_disk.c Clean up all the system shutdown calls 2019-07-12 23:15:26 +09:00
snd_dx.c [win] Clean up a pile of messy externs 2021-03-31 10:36:30 +09:00
snd_oss.c [audio] Rework alsa to use a pull model 2021-06-24 00:08:05 +09:00
snd_sdl.c Clean up all the system shutdown calls 2019-07-12 23:15:26 +09:00
snd_sgi.c Clean up all the system shutdown calls 2019-07-12 23:15:26 +09:00
snd_sun.c Clean up all the system shutdown calls 2019-07-12 23:15:26 +09:00
snd_win.c [util] Make developer flag names easier to manage 2021-03-29 22:38:47 +09:00