summaryrefslogtreecommitdiff
path: root/audio/nas/patches/patch-ad
blob: 8a4c04d71a3323033793c1b9057d6ff10902b53f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ad,v 1.7 2001/07/14 13:35:13 jlam Exp $

--- server/dda/voxware/auvoxware.c.orig	Thu Oct  5 20:39:16 2000
+++ server/dda/voxware/auvoxware.c
@@ -224,7 +224,11 @@
 	256,			/* fragSize */
 	3,			/* minFrags */
 	32,			/* maxFrags */
+#if defined(__NetBSD__)
+	"/dev/audio",		/* device */
+#else
 	"/dev/dsp1",		/* device */
+#endif
 	0			/* isPCSpeaker */
 }, sndStatOut =
 {
@@ -237,7 +241,11 @@
 	256,			/* fragSize */
 	3,			/* minFrags */
 	32,			/* maxFrags */
+#if defined(__NetBSD__)
+	"/dev/audio",		/* device */
+#else
 	"/dev/dsp",		/* device */
+#endif
 	0			/* isPCSpeaker */
 };