Mercurial > audlegacy
comparison Plugins/Input/mpg123/psycho.c @ 1116:16822108d807 trunk
[svn] - further simplification
author | nenolod |
---|---|
date | Tue, 30 May 2006 22:30:11 -0700 |
parents | a5e022677f00 |
children | 38ff0b6b019b |
comparison
equal
deleted
inserted
replaced
1115:a5e022677f00 | 1116:16822108d807 |
---|---|
96 static int l0, l1, l2, r0, r1, r2, ls, rs, ls1, rs1; | 96 static int l0, l1, l2, r0, r1, r2, ls, rs, ls1, rs1; |
97 static int ll0, ll1, ll2, rr0, rr1, rr2; | 97 static int ll0, ll1, ll2, rr0, rr1, rr2; |
98 static int lharmb = 0, rharmb = 0, lhfb = 0, rhfb = 0; | 98 static int lharmb = 0, rharmb = 0, lhfb = 0, rhfb = 0; |
99 int lharm0, rharm0; | 99 int lharm0, rharm0; |
100 static gint16 buf[BUF_SIZE]; | 100 static gint16 buf[BUF_SIZE]; |
101 static int bufPos = BUF_SIZE - 1; | |
102 static int bufPos1 = 1 + BUF_SIZE - DELAY1; | 101 static int bufPos1 = 1 + BUF_SIZE - DELAY1; |
103 static int bufPos2 = 1 + BUF_SIZE - DELAY1 - DELAY2; | 102 static int bufPos2 = 1 + BUF_SIZE - DELAY1 - DELAY2; |
104 static int bufPos3 = 1 + BUF_SIZE - DELAY1 - DELAY2 - DELAY3; | 103 static int bufPos3 = 1 + BUF_SIZE - DELAY1 - DELAY2 - DELAY3; |
105 static int bufPos4 = 1 + BUF_SIZE - DELAY1 - DELAY2 - DELAY3 - DELAY4; | 104 static int bufPos4 = 1 + BUF_SIZE - DELAY1 - DELAY2 - DELAY3 - DELAY4; |
106 dataptr = data; | 105 dataptr = data; |
205 // ************ for convolution filters ********** | 204 // ************ for convolution filters ********** |
206 l2= l1; r2= r1; | 205 l2= l1; r2= r1; |
207 l1 = l0; r1 = r0; | 206 l1 = l0; r1 = r0; |
208 ls1 = ls; rs1 = rs; | 207 ls1 = ls; rs1 = rs; |
209 | 208 |
210 left = 0 + lharm0 - lharmb / 32768 + left; | 209 left = 0 + lharm0 - lharmb / 32768; |
211 right = 0 + rharm0 - rharmb / 32768 + right; | 210 right = 0 + rharm0 - rharmb / 32768; |
212 | 211 |
213 left0p = left0; | 212 left0p = left0; |
214 right0p = right0; | 213 right0p = right0; |
215 | 214 |
216 | 215 |