mirror of https://github.com/thesofproject/sof.git
426542d17f
Linux host will send codec_id at runtime via sof_ipc_stream_params as part of extended data appended at the end. When ext_data_length is non-zero this means that the kernel wants us the use dynamic codec id. When ext_data_length is zero, use backward use default codec id which means we keep compatibility with older kernels. The codec_id is sent using compress API interface. We need to convert that to internal cadence numbering scheme. And final step, in order to use the dynamic id we need to move cadence_codec_post_init() from init() function to prepare() in order to be sure that the kernel already sent us the parameters. We need to this operation atomically in one patch in order to avoid breaking the functionality between patches. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> |
||
---|---|---|
.github | ||
doc | ||
installer | ||
keys | ||
overlays | ||
rimage@ee5c3e1deb | ||
scripts | ||
smex | ||
src | ||
test | ||
third_party/include | ||
tools | ||
zephyr | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CMakeLists.txt | ||
CODEOWNERS | ||
Kconfig | ||
Kconfig.sof | ||
Kconfig.xtos-build | ||
Kconfig.xtos-dbg | ||
LICENCE | ||
README.md |
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