blob: d18e4fc5c197501840890a0d773161f12e8f615f (
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
30
31
32
33
34
35
|
$NetBSD: patch-ag,v 1.3 2006/02/24 00:35:59 joerg Exp $
--- src/config.h.orig Sat Aug 15 15:16:46 1998
+++ src/config.h Wed Nov 4 21:27:03 1998
@@ -56,6 +56,30 @@
#define AUDIO_LINE_IN 2
#endif /* FreeBSD */
+#ifdef __DragonFly__
+#define OSNAME "DragonFly"
+#include <unistd.h>
+#include <stdlib.h>
+#include <sys/soundcard.h>
+#define DIFF_BYTE_ORDER 1
+#define AUDIO_SPEAKER 0
+#define AUDIO_HEADPHONE 1
+#define AUDIO_LINE_OUT 4
+#define AUDIO_MICROPHONE 1
+#define AUDIO_LINE_IN 2
+#endif /* DragonFly */
+
+#ifdef __NetBSD__
+#define OSNAME "NetBSD"
+#define DEFINED_ERRLIST
+#include <sys/stat.h>
+#include <sys/time.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <sys/audioio.h>
+#endif
+
#ifdef SunOS_5
#define OSNAME "Solaris"
#include <sys/stat.h>
|