slackbuilds_ponce/audio/rakarrack/64bit_distortion.diff
B. Watson a694bc59e7 audio/rakarrack: Fix distortion on x86_64.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-01-29 23:21:03 -06:00

12 lines
430 B
Diff

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;