summaryrefslogtreecommitdiff
path: root/audio/gramofile/patches/patch-ac
blob: 5027df9f88db478c73975f43522ffb1b9769e216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.1 2004/07/08 18:33:07 agc Exp $

--- bplaysrc/sndfunc.c	2004/07/08 18:26:58	1.1
+++ bplaysrc/sndfunc.c	2004/07/08 18:27:22
@@ -18,7 +18,11 @@
 #include <machine/soundcard.h>
 #endif
 
+#ifdef __NetBSD__
+#define AUDIO "/dev/sound"
+#else
 #define AUDIO "/dev/dsp"
+#endif
 
 /* Globals */
 int audio, abuf_size, fmt_mask;