mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -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) {
|
||||
/* 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;
|
||||
} else {
|
||||
/* We don't care about alignment, just use the array as-is */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue