diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-09-02 14:11:50 +0200 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-09-03 12:16:54 +0200 |
commit | 647048ebc49ed4ccb6f44b731c1850799e2a9253 (patch) | |
tree | 572100997b617ace714811ac1af8f3e384f5f07b /src | |
parent | 3d04a057363026b59462ef1b00d4e2f38b9b193a (diff) |
module-equalizer-sink: Use correct limit in loop
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/module-equalizer-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-equalizer-sink.c b/src/modules/module-equalizer-sink.c index a45df1af..19b679bf 100644 --- a/src/modules/module-equalizer-sink.c +++ b/src/modules/module-equalizer-sink.c @@ -909,7 +909,7 @@ static void save_profile(struct userdata *u, size_t channel, char *name){ profile[0] = u->Xs[a_i][channel]; H = u->Hs[channel][a_i]; H_n = profile + 1; - for(size_t i = 0 ; i <= FILTER_SIZE(u); ++i){ + for(size_t i = 0 ; i < FILTER_SIZE(u); ++i){ H_n[i] = H[i] * u->fft_size; //H_n[i] = H[i]; } |