mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
module-equalizer-sink: Use correct limit in loop
This commit is contained in:
parent
3d04a05736
commit
647048ebc4
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue