pkgsrc/audio/mpg123/patches/patch-ah
simonb b55ba7a0d1 Add fixed-point support used by the arm32.
XXX: Uses strongarm C-compiler options to use 32x32=64 int multiply.
1999-10-12 04:43:11 +00:00

22 lines
523 B
Text

$NetBSD: patch-ah,v 1.3 1999/10/12 04:43:14 simonb Exp $
--- equalizer.c.orig Tue Feb 2 03:47:35 1999
+++ equalizer.c Mon Aug 16 02:08:31 1999
@@ -13,7 +13,7 @@
if(equalfile) {
for(i=0;i<32;i++)
- bandPtr[i] *= equalizer[channel][i];
+ bandPtr[i] = REAL_MUL(bandPtr[i], equalizer[channel][i]);
}
/* if(param.equalizer & 0x2) {
@@ -28,7 +28,7 @@
{
int i;
for(i=0;i<576;i++) {
- bandPtr[i] *= equalizerband[channel][i];
+ bandPtr[i] = REAL_MUL(bandPtr[i], equalizerband[channel][i]);
}
}