Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio: SRC: Use valid_bit_depth to select processing function
The check of cd->ipc_config.base.audio_fmt.depth results to select S32_LE format processing function for SRC when the format is S24_LE. The check need to be done for valid_bit_depth instead. The S32_LE function appears to work but any sample that exceeds the range -2^23 .. +2^23-1 is overflow for S24_le. Also the use of S24_LE processing core will improve the signal-to-noise ratio. Reported-by: Tomasz Leman <tomasz.m.leman@intel.com> Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
- Loading branch information