mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
echo-cancel: Fix tap weights array alignment
This commit is contained in:
parent
764eabd109
commit
8d9c41e84c
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ AEC* AEC_init(int RATE, int have_vector)
|
||||||
|
|
||||||
if (have_vector) {
|
if (have_vector) {
|
||||||
/* Get a 16-byte aligned location */
|
/* Get a 16-byte aligned location */
|
||||||
a->w = (REAL *) (((uintptr_t) a->w_arr) + (((uintptr_t) a->w_arr) % 16));
|
a->w = (REAL *) (((uintptr_t) a->w_arr) - (((uintptr_t) a->w_arr) % 16) + 16);
|
||||||
a->dotp = dotp_sse;
|
a->dotp = dotp_sse;
|
||||||
} else {
|
} else {
|
||||||
/* We don't care about alignment, just use the array as-is */
|
/* We don't care about alignment, just use the array as-is */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue