ref: 43b7c6dc6d851acdb2af688418c146d8b635b415
parent: 2da75260bb9ae1a1ad282b695fd5c9d74a46d41d
author: Paul Brossier <piem@piem.org>
date: Mon Nov 2 16:22:32 EST 2015
src/tempo/tempo.c: remove trailing spaces
--- a/src/tempo/tempo.c
+++ b/src/tempo/tempo.c
@@ -64,8 +64,8 @@
smpl_t threshold; /** peak picking threshold */
sint_t blockpos; /** current position in dfframe */
uint_t winlen; /** dfframe bufsize */
- uint_t step; /** dfframe hopsize */
- uint_t samplerate; /** sampling rate of the signal */
+ uint_t step; /** dfframe hopsize */
+ uint_t samplerate; /** sampling rate of the signal */
uint_t hop_size; /** get hop_size */
uint_t total_frames; /** total frames since beginning */
uint_t last_beat; /** time of latest detected beat, in samples */
@@ -90,9 +90,9 @@
/* check dfframe */
aubio_beattracking_do(o->bt,o->dfframe,o->out);
/* rotate dfframe */
- for (i = 0 ; i < winlen - step; i++ )
+ for (i = 0 ; i < winlen - step; i++ )
o->dfframe->data[i] = o->dfframe->data[i+step];
- for (i = winlen - step ; i < winlen; i++ )
+ for (i = winlen - step ; i < winlen; i++ )
o->dfframe->data[i] = 0.;
o->blockpos = -1;
}