Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipc4: mixin: Fix HiFi3 impl of 24-bit mixing
AE_ADD24S() expects input arguments to be Q9.23 values. Therefore, negative 24-bit values in a 32-bit container should have their sign extended to the upper 8 bits. All other five implementations of 24-bit mixing (IPC3 mixer's generic and HIFI3, IPC4 mixin's generic, IPC4 mixin's mix with gain generic and HIFI3) perform sign extension prior to mixing and do not rely on samples being already sign-extended. Signed-off-by: Serhiy Katsyuba <[email protected]>
- Loading branch information