mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
echo-cancel: Fix zeroing of w in AEC_leaky()
bug probably caused by alignment requirement; sizeof(a->w) is a pointer, sizeof(a->w_arr) is an array Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
This commit is contained in:
parent
bf29c8dcf7
commit
764eabd109
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ static void AEC_leaky(AEC *a)
|
|||
} else if (1 == a->hangover) {
|
||||
--(a->hangover);
|
||||
// My Leaky NLMS is to erase vector w when hangover expires
|
||||
memset(a->w, 0, sizeof(a->w));
|
||||
memset(a->w_arr, 0, sizeof(a->w_arr));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue