blob: 9549fe031f5a5cce9620accdab4d5178e14ee260 (
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-ab,v 1.4 1999/02/10 14:55:33 frueauf Exp $
diff -r -u ../../src/xmix-2.1/xmix.c ./xmix.c
--- ../../src/xmix-2.1/xmix.c Sun Jan 17 13:13:12 1999
+++ ./xmix.c Sun Jan 17 13:16:12 1999
@@ -77,7 +77,12 @@
#include "square_empty.bit"
#include "square_with_x.bit"
-#include <linux/soundcard.h>
+#ifdef __NetBSD__
+#include <sys/ioctl.h>
+#include <soundcard.h>
+#else
+#include <machine/soundcard.h>
+#endif
#define SOUND_FULL_SCALE 100.0
#define MAX_SOUND_VOL 95
@@ -742,7 +747,7 @@
mic.locked = 0;
reclvl.locked = 0;
- printf("supported = 0x%x\n",supported);
+ /*printf("supported = 0x%x\n",supported);*/
set_supported(&master,(supported & SOUND_MASK_VOLUME) != 0);
set_supported(&bass,(supported & SOUND_MASK_BASS) != 0);
set_supported(&treble,(supported & SOUND_MASK_TREBLE) != 0);
|