summaryrefslogtreecommitdiff
path: root/audio/rakarrack/64bit_distortion.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-01-15 12:42:49 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:03 -0600
commita694bc59e79994a365d884e8a4217c984d8644e7 (patch)
tree418b99b0876881c31176e76583b8320e0c5c2629 /audio/rakarrack/64bit_distortion.diff
parent111738dc2ae3138d1ab09ea4bdc926c271c22d27 (diff)
downloadslackbuilds-a694bc59e79994a365d884e8a4217c984d8644e7.tar.gz
audio/rakarrack: Fix distortion on x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/rakarrack/64bit_distortion.diff')
-rw-r--r--audio/rakarrack/64bit_distortion.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/rakarrack/64bit_distortion.diff b/audio/rakarrack/64bit_distortion.diff
new file mode 100644
index 0000000000..2fade8cb5c
--- /dev/null
+++ b/audio/rakarrack/64bit_distortion.diff
@@ -0,0 +1,12 @@
+diff -Naur rakarrack-0.6.1/src/Waveshaper.C rakarrack-0.6.1.patched/src/Waveshaper.C
+--- rakarrack-0.6.1/src/Waveshaper.C 2010-08-22 09:41:40.000000000 -0400
++++ rakarrack-0.6.1.patched/src/Waveshaper.C 2014-01-14 23:27:09.000000000 -0500
+@@ -49,7 +49,7 @@
+ period_coeff = 8;
+ ncSAMPLE_RATE=cSAMPLE_RATE/8.0f;
+ break;
+- case 4:
++ default:
+ period_coeff = 12;
+ ncSAMPLE_RATE=cSAMPLE_RATE/12.0f;
+ break;