pkgsrc/audio/amp/patches/patch-ab

32 lines
574 B
Text
Raw Normal View History

$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