sof/src
Tobiasz Dryjanski 821f961fba smart_amp_test: fix crash due to different source formats
Smart amp test chooses a process function based on the sink only. Because
of this, there's a possibility that one of the sources has a 16bit format,
which can't be safely processed by the 32bit process function. The crash
only happened when dai_copier sent one less sample than usual to the
smart_amp. This makes total sample count an odd number, making the data in
the audio_stream buffer misaligned.

This patch changes the prepare function of smart_amp_test to consider all
the sources and sinks while deciding which process function to use.

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
2024-04-16 12:42:44 +01:00
..
arch mt8195: Disable GOOGLE AEC MOCK by default 2024-03-11 11:43:08 +02:00
audio module: cadence: don't return on non-fatal error 2024-04-15 20:03:37 +03:00
debug telemetry: Add systick_info part of telemetry 2024-04-12 19:21:42 +03:00
drivers amd: initialization of dma descriptors for probe functionality for AMD/Renoir platform. 2024-02-08 16:04:18 +00:00
idc idc: zephyr_idc: implement idc_send_msg for non-multicore platforms 2024-04-16 14:12:34 +03:00
include ipc: ipc4: remove use of platform/drivers/alh.h 2024-04-16 09:02:33 +01:00
init platform: register proper basefw CPS consumption on boot 2024-04-15 13:48:33 +01:00
ipc ipc: ipc4: remove use of platform/drivers/alh.h 2024-04-16 09:02:33 +01:00
lib pipeline: Register and unregister pipelines CPS consumption on run/pause 2024-04-15 13:48:33 +01:00
library_manager lib_manager: Rename lib_manager_get_library_module_desc function 2024-04-12 16:55:49 +03:00
logging logging: add logging through probes 2023-09-15 12:57:07 +03:00
math math: avoid re-initialising variables every loop iteration 2024-04-03 15:32:23 +03:00
module lmdk: fix building system-service modules 2024-02-06 09:50:31 +02:00
platform platform: remove platform/drivers/idc.h for Intel platforms 2024-04-16 14:12:34 +03:00
probe Use new '-DREM=#' prefix to preserve comments in pre-processed .toml 2024-04-10 09:37:43 +03:00
samples smart_amp_test: fix crash due to different source formats 2024-04-16 12:42:44 +01:00
schedule telemetry: Add systick_info part of telemetry 2024-04-12 19:21:42 +03:00
trace sof: remove META usage in sof source code 2024-01-23 19:43:02 +02:00
CMakeLists.txt module: sink: source: Move sink/source api headers to module 2023-11-24 16:17:46 +00:00
Kconfig telemetry: Enable Telemetry 2024-04-12 19:21:42 +03:00
spinlock.c