openbsd-ports/devel/sdl/patches/patch-src_audio_SDL_audio_c
dcoppa eea121e0d7 Update to sdl-1.2.15.
From brad, with tweaks by ajacoutot@ and me.

Tested by many on ports@
Ok ajacoutot@
2012-03-02 09:10:38 +00:00

20 lines
496 B
Plaintext

$OpenBSD: patch-src_audio_SDL_audio_c,v 1.17 2012/03/02 09:10:38 dcoppa Exp $
--- src/audio/SDL_audio.c.orig Thu Jan 19 01:30:06 2012
+++ src/audio/SDL_audio.c Wed Feb 22 13:41:58 2012
@@ -36,11 +36,15 @@
/* Available audio drivers */
static AudioBootStrap *bootstrap[] = {
+
#if SDL_AUDIO_DRIVER_PULSE
&PULSE_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_ALSA
&ALSA_bootstrap,
+#endif
+#if SDL_AUDIO_DRIVER_SNDIO
+ &SNDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_BSD
&BSD_AUDIO_bootstrap,