summaryrefslogtreecommitdiff
path: root/audio/amp/patches/patch-ab
blob: 37c29a1152f6e16fbe97367a4e53df68143165ba (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
$NetBSD: patch-ab,v 1.4 2005/11/18 14:52:44 joerg Exp $

--- audioIO.h.orig	1997-05-31 19:47:58.000000000 +0200
+++ audioIO.h
@@ -7,12 +7,16 @@
   #define AUSIZ 32768
 #endif
 
-#ifdef OS_Linux
+#if defined(OS_Linux) || defined(OS_BSD)
 extern int AUSIZ;
 #endif
 
+#ifdef OS_Linux
+#define DEFAULT_AUSIZ 0
+#endif
+
 #ifdef OS_BSD
-  #define AUSIZ 32768
+  #define DEFAULT_AUSIZ 32768
 #endif
 
 #if defined(OS_IRIX) || defined(OS_IRIX64)
@@ -26,3 +30,7 @@ extern int AUSIZ;
 #ifdef OS_SunOS
   #define AUSIZ 4096
 #endif
+
+#ifdef OS_NetBSD
+  #define AUSIZ 32768
+#endif