This directory contains abstractions and adapters for various hardware and software audio codecs.
Provides a unified interface to initialize, configure, and stream data to/from codec dependencies.
- Kconfig: Specifically manages configurations for external codecs. For example, it defines options for the
DTS_CODEC, including a testing/CI stubDTS_CODEC_STUBwhenCOMP_STUBSis enabled. Use of the actual DTS codec requires a pre-compiled static library from Xperi. - CMakeLists.txt: Specifies Zephyr build integration. For the DTS codec, it checks for modular builds (
llext). If built statically, it either links the stub source or imports the pre-compiledlibdts-sof-interface-i32.alibrary depending on configuration. - Topology (.conf):
tools/topology/topology2/include/components/dts.confdefines thedtswidget. It exposescpc(cycles per chunk) and configures a byte control of size 2048 withextctloperations. Defaults to UUID4f:c3:5f:d9:0f:37:c7:4a:bc:86:bf:dc:5b:e2:41:e6.