From 18d77eb7585c15de299b43e262d2ce381fc24043 Mon Sep 17 00:00:00 2001 From: Rander Wang Date: Tue, 19 Apr 2022 10:56:33 +0800 Subject: [PATCH] ipc4: add format conversion of 24LE to 32LE This conversion is required by 24LE test in CI Signed-off-by: Rander Wang --- src/audio/pcm_converter/pcm_converter_generic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/audio/pcm_converter/pcm_converter_generic.c b/src/audio/pcm_converter/pcm_converter_generic.c index 050430bf0..92a21d56f 100644 --- a/src/audio/pcm_converter/pcm_converter_generic.c +++ b/src/audio/pcm_converter/pcm_converter_generic.c @@ -817,6 +817,8 @@ const struct pcm_func_vc_map pcm_func_vc_map[] = { ipc4_gtw_host, ipc4_playback, pcm_convert_s32_to_s24 }, { SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S24_4LE, ipc4_gtw_host, ipc4_capture, pcm_convert_s24_to_s32 }, + { SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S24_4LE, SOF_IPC_FRAME_S32_LE, SOF_IPC_FRAME_S32_LE, + ipc4_gtw_all, ipc4_bidirection, pcm_convert_s24_to_s32}, #endif #if CONFIG_PCM_CONVERTER_FORMAT_S24LE && CONFIG_PCM_CONVERTER_FORMAT_S16LE { SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S16_LE, SOF_IPC_FRAME_S32_LE,