changeset 1117:38ff0b6b019b trunk

[svn] - fix an oops
author nenolod
date Tue, 30 May 2006 22:34:42 -0700
parents 16822108d807
children 9ebbf4d00d89
files Plugins/Input/mpg123/psycho.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/psycho.c	Tue May 30 22:30:11 2006 -0700
+++ b/Plugins/Input/mpg123/psycho.c	Tue May 30 22:34:42 2006 -0700
@@ -173,6 +173,9 @@
     leftc = left1 / 9 + right2 /8  + left3 / 8;
     rightc = right1 / 11 + left2 / 9 + right3 / 10;
 
+    left = left0p;
+    right = right0p;
+
     l0 = leftc + left0 / 2;
     r0 = rightc + right0 / 2;
 
@@ -206,8 +209,8 @@
     l1 = l0; r1 = r0;
     ls1 = ls; rs1 = rs;
 
-    left  = 0 + lharm0 - lharmb / 32768;
-    right = 0 + rharm0 - rharmb / 32768;
+    left  = 0 + lharm0 - lharmb / 32768 + left;
+    right = 0 + rharm0 - rharmb / 32768 + right;
 
     left0p = left0;
     right0p = right0;