Go to file
Daniel Baluta 426542d17f codec_adapter: cadence: Resolve api_id at runtime
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>
2022-04-27 10:51:48 +01:00
.github .github: IPC4: build supported TGL platforms first 2022-04-27 10:51:22 +01:00
doc CMake: require version 3.13 2021-09-10 17:19:29 +01:00
installer installer: add IPC_VERSION 2022-04-25 16:39:50 +01:00
keys
overlays overlays:tgl: Configure format converter for IPC4 2022-03-23 14:27:55 +00:00
rimage@ee5c3e1deb rimage: update to January 26th version ee5c3e1deb 2022-02-08 09:11:57 +00:00
scripts zephyr/docker-build.sh: match UID with 'adduser' instead of 'chgrp -R' 2022-04-26 22:08:53 +01:00
smex CMake: require version 3.13 2021-09-10 17:19:29 +01:00
src codec_adapter: cadence: Resolve api_id at runtime 2022-04-27 10:51:48 +01:00
test component: Split data_blob.[ch] out of component.[ch] 2022-04-05 17:47:18 +01:00
third_party/include google_rtc_audio_processing: Add config controls 2022-03-15 16:27:53 -07:00
tools topology1: add mt8186 related pipelines and components 2022-04-27 10:42:54 +01:00
zephyr zephyr/docker-build.sh: match UID with 'adduser' instead of 'chgrp -R' 2022-04-26 22:08:53 +01:00
.gitignore Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
.gitmodules .gitmodules: remove .git suffix from rimage.git 2021-09-30 15:56:44 +01:00
.travis.yml .github: replace HAVE_CONFIG KConfig hack with an override 2021-03-23 12:17:22 +00:00
CMakeLists.txt Rename generated version.h to sof_versions.h 2022-01-14 16:56:29 +00:00
CODEOWNERS CODEOWNERS: @benzh -> @bzhg 2022-04-26 17:04:52 +01:00
Kconfig kconfig: allow SOF Kconfig to be included in other projects 2021-08-04 12:34:39 +01:00
Kconfig.sof ll_schedule: Update DSP load tracker to provide per task numbers 2022-03-23 14:24:31 +00:00
Kconfig.xtos-build kconfig: move BUILD_VM_ROM Kconfig.xtos-build 2021-05-25 15:53:39 +01:00
Kconfig.xtos-dbg Kconfig: use uncached buffer only for debugging 2021-09-29 16:36:27 +01:00
LICENCE LICENCE: Add Khronos Group Inc license header 2022-04-12 19:41:27 +03:00
README.md readme: remove IRC link 2021-06-16 22:13:08 +01:00

README.md

Sound Open Firmware

Status

GitHub Actions Build Status Gitter chat

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