Go to file
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
.github .github/zephyr: upgrade obsolete actions/setup-python@v4 to v5 2024-04-05 13:02:49 -05:00
app boards: mtl: enable KCPS dynamic clock control 2024-04-15 13:48:33 +01:00
doc
installer installer: replace imx8 with imx8m 2024-02-16 21:48:10 +02:00
keys
lmdk lmdk: dummy: Remove unused api version definitions 2024-02-19 14:31:09 +00:00
posix/include src: panic: Modify the signature of __panic() 2024-02-16 21:45:27 +02:00
scripts xtensa-build-zephyr.py: make --deployable-build the default 2024-04-02 20:00:13 +03:00
smex smex: elf: fixed error handling from file operation 2023-12-11 17:03:31 +02:00
src smart_amp_test: fix crash due to different source formats 2024-04-16 12:42:44 +01:00
submanifests
test src: panic: Modify the signature of __panic() 2024-02-16 21:45:27 +02:00
third_party/include module_adapter: dts: update the path to include DTS header files 2023-12-01 16:20:29 +02:00
tools Tools: Topology2: Add build of 96 kHz HDA topologies 2024-04-16 12:35:29 +01:00
xtos/include xtos: perf_cnt: use correct timing_counter_get() 2024-04-15 13:54:01 +01:00
zephyr platform: remove platform/drivers/idc.h for Intel platforms 2024-04-16 14:12:34 +03:00
.gitignore rimage: move everything down to subdir tools/rimage/, prepare move to sof 2023-10-05 10:18:11 -07:00
.gitmodules Delete old rimage submodule and old rimage west module 2023-10-09 13:08:07 -07:00
.travis.yml
CMakeLists.txt cmake: switch XTOS build to sof/tools/rimage 2023-10-09 13:06:12 -07:00
CODEOWNERS CODEOWNERS: add kv2019i to the list of default owners 2023-09-01 09:23:17 +01:00
Kconfig
Kconfig.sof audio: add a config to sof and zephyr code 2023-08-18 10:15:44 +03:00
Kconfig.xtos-build
Kconfig.xtos-dbg
Kconfig.zephyr-log audio: Put buffer state log under CONFIG_SOF_LOG_DBG_BUFFER switch 2023-08-16 21:21:55 +03:00
LICENCE
README.md rimage: move everything down to subdir tools/rimage/, prepare move to sof 2023-10-05 10:18:11 -07:00
versions.json versions.json: set version to 2.9.99 2024-03-04 18:21:58 +02:00
west.yml west: update to a newer Zephyr version 2024-04-11 11:25:06 +01:00

README.md

Sound Open Firmware

Status

Daily Actions

Gitter chat

#sof channel on discord.com

Documentation

See docs

Running the tests

See unit testing documentation

Deployment

TODO: Add additional notes about how to deploy this on a live system

Contributing

See Contributing to the Project

License

This project is licensed under the BSD Clause 3 - see the LICENCE file for details