mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
echo-cancel: Don't overpad variable
The padding was to be 16 bytes, not 16 elements.
This commit is contained in:
parent
2bc2abc68a
commit
8305284cd2
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ struct AEC {
|
|||
// NLMS-pw
|
||||
REAL x[NLMS_LEN + NLMS_EXT]; // tap delayed loudspeaker signal
|
||||
REAL xf[NLMS_LEN + NLMS_EXT]; // pre-whitening tap delayed signal
|
||||
REAL w_arr[NLMS_LEN+16]; // tap weights
|
||||
REAL w_arr[NLMS_LEN + (16 / sizeof(REAL))]; // tap weights
|
||||
REAL *w; // this will be a 16-byte aligned pointer into w_arr
|
||||
int j; // optimize: less memory copies
|
||||
double dotp_xf_xf; // double to avoid loss of precision
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue