changeset 1116:16822108d807 trunk

[svn] - further simplification
author nenolod
date Tue, 30 May 2006 22:30:11 -0700
parents a5e022677f00
children 38ff0b6b019b
files Plugins/Input/mpg123/psycho.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/psycho.c	Tue May 30 22:29:00 2006 -0700
+++ b/Plugins/Input/mpg123/psycho.c	Tue May 30 22:30:11 2006 -0700
@@ -98,7 +98,6 @@
   static int lharmb = 0, rharmb = 0, lhfb = 0, rhfb = 0;
   int lharm0, rharm0;
   static gint16 buf[BUF_SIZE];
-  static int bufPos = BUF_SIZE - 1;
   static int bufPos1 = 1 + BUF_SIZE - DELAY1;
   static int bufPos2 = 1 + BUF_SIZE - DELAY1 - DELAY2;
   static int bufPos3 = 1 + BUF_SIZE - DELAY1 - DELAY2 - DELAY3;
@@ -207,8 +206,8 @@
     l1 = l0; r1 = r0;
     ls1 = ls; rs1 = rs;
 
-    left  = 0 + lharm0 - lharmb / 32768	+ left;
-    right = 0 + rharm0 - rharmb / 32768	+ right;
+    left  = 0 + lharm0 - lharmb / 32768;
+    right = 0 + rharm0 - rharmb / 32768;
 
     left0p = left0;
     right0p = right0;