Added an SDL2 OpenBSD sndio(7) audio target.

--HG--
extra : rebase_source : 5ad387265cff73c1635ca4f2c3635848ba722614
This commit is contained in:
Ryan C. Gordon 2013-07-07 02:03:07 -04:00
parent fdca15860f
commit bbe065f50f
8 changed files with 460 additions and 0 deletions

View file

@ -67,6 +67,7 @@ extern AudioBootStrap NDSAUD_bootstrap;
extern AudioBootStrap FUSIONSOUND_bootstrap;
extern AudioBootStrap ANDROIDAUD_bootstrap;
extern AudioBootStrap PSPAUD_bootstrap;
extern AudioBootStrap SNDIO_bootstrap;
/* Available audio drivers */
static const AudioBootStrap *const bootstrap[] = {
@ -76,6 +77,9 @@ static const AudioBootStrap *const bootstrap[] = {
#if SDL_AUDIO_DRIVER_ALSA
&ALSA_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_SNDIO
&SNDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_BSD
&BSD_AUDIO_bootstrap,
#endif