Go to file
Seppo Ingalsuo 7d0a0c673f Audio: Module adapter: Pass entire cdata to clients for all controls
This patch unifies all the control types (bytes, enum, switch).
Previously for binary control the fragment pointed to
cdata->data[0].data while for other control types the cdata
was passed via fragment. If fragment always points to cdata
the module adapter client can reliably check the control type
from cdata->cmd and handle other than binary control types.

Since the client components with binary control pass the
data to comp_data_blob_set() in data_blob.c the restore of
pointer fragment to cdata->data[0].data can be done there.

A check for SOF_CTRL_CMD_BINARY is added to comp_data_blob_set()
and comp_data_blob_get_cmd() to avoid wrong usage of controls.

With IPC4 in comp_data_blob_set() the use of
struct sof_ipc_ctrl_data pointer step is not done but the
fragment is treated as raw data payload without the header.
The generic support for other than binary control will be
solved later for IPC4.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2023-04-06 22:05:08 +01:00
.github .github/ipc_fuzzer.yml: add new scripts/fuzz.sh 2023-03-24 16:20:23 +00:00
app zephyr: cavs: use zephyr pm, clk and dma glue 2023-03-27 12:37:26 +03:00
doc header: rtos: decouple headers into rtos specific directories. 2022-08-31 12:01:07 +01:00
installer platform: remove support for cAVS 1.8 platforms 2023-03-02 23:02:37 +00:00
keys
rimage@9643a986dd kpb: update uuid in rimage 2023-04-04 15:20:30 +02:00
scripts scripts/fuzz.sh: add timeout feature and stdout redirection 2023-03-24 16:20:23 +00:00
smex header: rtos: decouple headers into rtos specific directories. 2022-08-31 12:01:07 +01:00
src Audio: Module adapter: Pass entire cdata to clients for all controls 2023-04-06 22:05:08 +01:00
submanifests Add west.yml configuring zephyr dependencies from sof 2022-08-03 11:43:22 +01:00
test Test: Cmocka: Convert mux to module adapter 2023-03-09 13:33:26 +02:00
third_party/include Updating of GoogleRtcAudioProcessing component to provide a more general behavior 2022-12-09 16:00:16 -08:00
tools topology1: set lower priority for DMIC task in GOOGLE_RTC_AUDIO case 2023-04-06 21:50:18 +01:00
xtos/include clock: replace per-clock locks with a global one 2023-03-07 13:37:56 +02:00
zephyr zephyr: Make CONFIG_DMA_DOMAIN no longer experimental 2023-04-05 12:31:46 +01:00
.gitignore gitignore: ignore testbench test results files 2023-03-30 11:42:42 +01: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 platform: Add Zephyr native_posix-based emulation environment 2022-12-07 17:25:39 +00:00
CODEOWNERS CODEOWNERS: more intel code owners added 2023-02-24 16:08:39 +00:00
Kconfig kconfig: allow SOF Kconfig to be included in other projects 2021-08-04 12:34:39 +01:00
Kconfig.sof Performance: remove perf avg macro and reduce print profiling logs 2022-11-01 10:45:00 +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
Kconfig.zephyr-log sof: replace log calls with zephyr logging api 2022-04-27 15:05:24 +01:00
LICENCE LICENCE: Add Khronos Group Inc license header 2022-04-12 19:41:27 +03:00
README.md README.md: add link to discord.com/zephyr#sof channel 2022-12-23 11:13:31 +00:00
west.yml kpb: update uuid in rimage 2023-04-04 15:20:30 +02: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