openbsd-ports/audio/libcanberra/patches/patch-src_driver-order_c
2010-04-22 16:29:49 +00:00

28 lines
569 B
Plaintext

$OpenBSD: patch-src_driver-order_c,v 1.3 2010/04/22 16:29:49 ajacoutot Exp $
--- src/driver-order.c.orig Sat Feb 20 00:39:40 2010
+++ src/driver-order.c Thu Apr 22 18:18:02 2010
@@ -30,17 +30,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