summaryrefslogtreecommitdiff
path: root/audio/csound/files/patch-soundin.c
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-07-15 00:11:09 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-07-15 00:11:09 +0000
commit333094fc31f6859b99782ea410a77ef28f10dc13 (patch)
treeaf75f82ea8b21e4a034b103d835926c05b0eef20 /audio/csound/files/patch-soundin.c
parentUpdate to 2.0. (diff)
Update to 4.20.
Submitted by: Emil Mikulic
Diffstat (limited to 'audio/csound/files/patch-soundin.c')
-rw-r--r--audio/csound/files/patch-soundin.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/csound/files/patch-soundin.c b/audio/csound/files/patch-soundin.c
new file mode 100644
index 000000000000..ebe4e388c8d9
--- /dev/null
+++ b/audio/csound/files/patch-soundin.c
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- soundin.c.orig Sun Jul 14 16:03:01 2002
++++ soundin.c Sun Jul 14 16:02:57 2002
+@@ -5,6 +5,7 @@
+ /*RWD 3:2000*/
+ #ifdef RWD_DBFS
+ /* quick hack to save typing etc... */
++#undef INLONGFAC
+ #define INLONGFAC (double)long_to_dbfs
+ #else
+ #define INLONGFAC (1.0 / 65536.0) /* convert 32bit long to quasi 16 bit range */