summaryrefslogtreecommitdiff
path: root/audio/snd/patches/patch-ag
blob: a3ecfbdf48b4f4645032fea56a226904f15a79ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ag,v 1.2 1998/08/07 10:36:10 agc Exp $

--- snd.orig/snd-dac.c	Mon Dec 22 17:22:48 1997
+++ snd-dac.c	Sun Feb 22 02:25:39 1998
@@ -200,7 +200,11 @@
   #include <soundcard.h>
 #endif
 
-#define DAC_NAME "/dev/dsp"
+#ifdef LINUX
+#  define DAC_NAME "/dev/dsp"
+#else /* !LINUX */
+#  define DAC_NAME "/dev/audio"     /* /dev/sound?  - HF */
+#endif /* LINUX */
 #define FRAGMENTS 2
 #define FRAGMENT_SIZE 10