From c7b9df0106af29a624ae4d925d273cb88d9e823f Mon Sep 17 00:00:00 2001 From: Rander Wang Date: Mon, 17 Jan 2022 10:12:40 +0800 Subject: [PATCH] ipc4: fix compiling issue for ipc4 Move endif to include general ipc4 conversion. Signed-off-by: Rander Wang --- src/audio/pcm_converter/pcm_converter_generic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/audio/pcm_converter/pcm_converter_generic.c b/src/audio/pcm_converter/pcm_converter_generic.c index 9fc2b0b81..22669189e 100644 --- a/src/audio/pcm_converter/pcm_converter_generic.c +++ b/src/audio/pcm_converter/pcm_converter_generic.c @@ -494,8 +494,6 @@ const struct pcm_func_map pcm_func_map[] = { const size_t pcm_func_count = ARRAY_SIZE(pcm_func_map); -#endif - #if CONFIG_PCM_CONVERTER_FORMAT_S16_C16_AND_S16_C32 static int pcm_convert_s16_c16_to_s16_c32(const struct audio_stream *source, uint32_t ioffset, struct audio_stream *sink, @@ -695,3 +693,5 @@ const struct pcm_func_vc_map pcm_func_vc_map[] = { }; const size_t pcm_func_vc_count = ARRAY_SIZE(pcm_func_vc_map); + +#endif