openbsd-ports/audio/libcanberra/patches/patch-src_driver-order_c
jakemsr 82126b97cc - add sndio backend
- remove OSS backend

requested/tested by ajacoutot@
2009-01-09 17:34:32 +00:00

28 lines
535 B
Plaintext

$OpenBSD: patch-src_driver-order_c,v 1.2 2009/01/09 17:34:32 jakemsr Exp $
--- src/driver-order.c.orig Wed Aug 27 15:24:53 2008
+++ src/driver-order.c Fri Dec 26 16:38:44 2008
@@ -28,17 +28,20 @@
#include "driver-order.h"
const char* const ca_driver_order[] = {
+#ifdef HAVE_SNDIO
+ "sndio",
+#endif
#ifdef HAVE_PULSE
"pulse",
#endif
#ifdef HAVE_ALSA
"alsa",
#endif
-#ifdef HAVE_OSS
- "oss",
-#endif
#ifdef HAVE_GSTREAMER
"gstreamer",
+#endif
+#ifdef HAVE_OSS
+ "oss",
#endif
/* ... */
NULL