mirror of https://github.com/thesofproject/sof.git
821f961fba
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> |
||
---|---|---|
.github | ||
app | ||
doc | ||
installer | ||
keys | ||
lmdk | ||
posix/include | ||
scripts | ||
smex | ||
src | ||
submanifests | ||
test | ||
third_party/include | ||
tools | ||
xtos/include | ||
zephyr | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
Kconfig.sof | ||
Kconfig.xtos-build | ||
Kconfig.xtos-dbg | ||
Kconfig.zephyr-log | ||
LICENCE | ||
README.md | ||
versions.json | ||
west.yml |
README.md
Sound Open Firmware
Status
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