summaryrefslogtreecommitdiff
path: root/audio/mpg123/patches/patch-ah
blob: 755dc0f59f439af1d436c6faa574ce9494c7ee75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$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]);
   }
 }