# HG changeset patch # User vitor # Date 1211734435 0 # Node ID c39a7f5f10cbf53d06c376b13983f0c9c761e9c4 # Parent a63a7b23d4ba150a7803899b9fe9515810a0f178 Rename var diff -r a63a7b23d4ba -r c39a7f5f10cb ra144.c --- a/ra144.c Sun May 25 16:52:14 2008 +0000 +++ b/ra144.c Sun May 25 16:53:55 2008 +0000 @@ -118,14 +118,14 @@ } /* multiply/add wavetable */ -static void add_wav(int n, int f, int *m, const short *s1, +static void add_wav(int n, int skip_first, int *m, const short *s1, const int8_t *s2, const int8_t *s3, short *dest) { int i; int v[3]; v[0] = 0; - for (i=!f; i<3; i++) + for (i=!skip_first; i<3; i++) v[i] = (wavtable1[n][i] * m[i]) >> (wavtable2[n][i] + 1); for (i=0; i < BLOCKSIZE; i++)