aboutsummaryrefslogtreecommitdiff
path: root/audio/sox
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sox')
-rw-r--r--audio/sox/files/patch-aa11
-rw-r--r--audio/sox/files/patch-ab11
2 files changed, 22 insertions, 0 deletions
diff --git a/audio/sox/files/patch-aa b/audio/sox/files/patch-aa
new file mode 100644
index 000000000000..6b0b4b75867c
--- /dev/null
+++ b/audio/sox/files/patch-aa
@@ -0,0 +1,11 @@
+--- avr.c.orig Mon Aug 14 21:10:58 2000
++++ avr.c Sat Feb 24 22:27:31 2001
+@@ -38,7 +38,7 @@
+ unsigned short midi; /* 0xffff = no MIDI note assigned,
+ 0xffXX = single key note assignment
+ 0xLLHH = key split, low/hi note */
+- ULONG int rate; /* sample frequency in hertz */
++ ULONG rate; /* sample frequency in hertz */
+ ULONG size; /* sample length in bytes or words (see rez) */
+ ULONG lbeg; /* offset to start of loop in bytes or words.
+ set to zero if unused. */
diff --git a/audio/sox/files/patch-ab b/audio/sox/files/patch-ab
new file mode 100644
index 000000000000..a28c33234f86
--- /dev/null
+++ b/audio/sox/files/patch-ab
@@ -0,0 +1,11 @@
+--- resample.c.orig Fri Sep 1 11:08:24 2000
++++ resample.c Sat Feb 24 22:28:16 2001
+@@ -180,7 +180,7 @@
+ resample_t r = (resample_t) effp->priv;
+ LONG Xoff, gcdrate;
+ int i;
+- extern long st_gcd(P2(long a,long b));
++ extern long st_gcd(P2(LONG,LONG));
+
+ r->Factor = (double)effp->outinfo.rate / (double)effp->ininfo.rate;
+