]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: qdsp6/audioreach: add support for offloading raw opus playback
authorAlexey Klimov <alexey.klimov@linaro.org>
Wed, 17 Sep 2025 07:32:52 +0000 (08:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Sep 2025 12:58:09 +0000 (14:58 +0200)
commitfc87f70bd133afd5b41fa8c128beb58c1ccc6e99
treef1e8dd073740216a1950be5b90eba635fd6a4fa3
parentb07d2514b91c30ab16fdf8f9cc3523bef969becf
ASoC: qcom: qdsp6/audioreach: add support for offloading raw opus playback

Add support for OPUS module, OPUS format ID, media format payload struct
and make it all recognizable by audioreach compress playback path.

At this moment this only supports raw or plain OPUS packets not
encapsulated in container (for instance OGG container). For this usecase
each OPUS packet needs to be prepended with 4-bytes long length field
which is expected to be done by userspace applications. This is
Qualcomm DSP specific requirement.

Cc: Annemarie Porter <annemari@quicinc.com>
Cc: Vinod Koul <vkoul@kernel.org>
Co-developed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/qcom/qdsp6/audioreach.c
sound/soc/qcom/qdsp6/audioreach.h
sound/soc/qcom/qdsp6/q6apm-dai.c
sound/soc/qcom/qdsp6/q6apm.c