From: Paul Brossier Date: Sat, 31 Jul 2010 14:32:05 +0000 (+0200) Subject: src/tempo/beattracking.c: declare b as signed integer, thanks to Lennart Denninger X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c8420433827def2e65bde3d7e7807c57a3f34f0;p=aubio.git src/tempo/beattracking.c: declare b as signed integer, thanks to Lennart Denninger --- diff --git a/src/tempo/beattracking.c b/src/tempo/beattracking.c index f3e0b80a..2c24561f 100644 --- a/src/tempo/beattracking.c +++ b/src/tempo/beattracking.c @@ -135,7 +135,7 @@ aubio_beattracking_do (aubio_beattracking_t * bt, fvec_t * dfframe, smpl_t phase; // beat alignment (step - lastbeat) smpl_t beat; // beat position smpl_t bp; // beat period - uint_t a, b; // used to build shift invariant comb filterbank + uint_t a; sint_t b; // used to build shift invariant comb filterbank uint_t kmax; // number of elements used to find beat phase /* copy dfframe, apply detection function weighting, and revert */ @@ -275,7 +275,7 @@ fvec_gettimesig (fvec_t * acf, uint_t acflen, uint_t gp) void aubio_beattracking_checkstate (aubio_beattracking_t * bt) { - uint_t i, j, a, b; + uint_t i, j, a; sint_t b; uint_t flagconst = 0; sint_t counter = bt->counter; uint_t flagstep = bt->flagstep;