module-equalizer-sink: Use correct limit in loop

This commit is contained in:
Maarten Bosmans 2011-09-02 14:11:50 +02:00 committed by Colin Guthrie
parent 3d04a05736
commit 647048ebc4

View file

@ -909,7 +909,7 @@ static void save_profile(struct userdata *u, size_t channel, char *name){
profile[0] = u->Xs[a_i][channel]; profile[0] = u->Xs[a_i][channel];
H = u->Hs[channel][a_i]; H = u->Hs[channel][a_i];
H_n = profile + 1; 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] * u->fft_size;
//H_n[i] = H[i]; //H_n[i] = H[i];
} }