blob: fc03148e5cfb9f85317075e673757267ea47c3d2 (
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
29
|
$NetBSD: patch-aa,v 1.2 2003/01/30 23:09:06 jmmv Exp $
--- src/driver_oss.c.orig Sat Jan 18 04:57:43 2003
+++ src/driver_oss.c
@@ -49,7 +49,7 @@
#ifdef DRIVER_OSS
#include <sys/soundcard.h>
-#define DEV_DSP "/dev/dsp"
+#define DEV_DSP DEVOSSAUDIO
#define MONITOR_DEV_DSP "/dev/dsp1"
#define DEFAULT_LOG_FRAGS 6
@@ -778,6 +778,7 @@ setup_dev_dsp (sw_handle * handle, sw_fo
exit (1) ;
}
+#if 0
fmt = AFMT_QUERY;
if ((error = ioctl (dev_dsp, SOUND_PCM_SETFMT, &fmt)) != 0) {
perror ("open_dsp_device 8") ;
@@ -794,6 +795,7 @@ setup_dev_dsp (sw_handle * handle, sw_fo
if (fmt == AFMT_S16_BE || fmt == AFMT_U16_BE) {
handle->custom_data = GINT_TO_POINTER(1);
}
+#endif
#endif
#ifdef DEBUG
|