copier-dai: create new file for dai specific code

Move copier.c dai specific code to copier_dai.c

Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
This commit is contained in:
Baofeng Tian 2023-05-17 14:26:27 +08:00 committed by Ranjani Sridharan
parent b9b030757f
commit 63b1264a74
3 changed files with 11 additions and 1 deletions

View File

@ -1,4 +1,4 @@
add_local_sources(sof copier.c copier_hifi.c copier_generic.c copier_host.c) add_local_sources(sof copier.c copier_hifi.c copier_generic.c copier_host.c copier_dai.c)
if(CONFIG_IPC4_GATEWAY) if(CONFIG_IPC4_GATEWAY)
add_local_sources(sof add_local_sources(sof
copier_ipcgtw.c copier_ipcgtw.c

View File

@ -0,0 +1,9 @@
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright 2023 Intel Corporation. All rights reserved.
//
// Author: Baofeng Tian <baofeng.tian@intel.com>
#include <sof/trace/trace.h>
LOG_MODULE_DECLARE(copier, CONFIG_SOF_LOG_LEVEL);

View File

@ -626,6 +626,7 @@ zephyr_library_sources_ifdef(CONFIG_COMP_COPIER
${SOF_AUDIO_PATH}/copier/copier_hifi.c ${SOF_AUDIO_PATH}/copier/copier_hifi.c
${SOF_AUDIO_PATH}/copier/copier.c ${SOF_AUDIO_PATH}/copier/copier.c
${SOF_AUDIO_PATH}/copier/copier_host.c ${SOF_AUDIO_PATH}/copier/copier_host.c
${SOF_AUDIO_PATH}/copier/copier_dai.c
) )
zephyr_library_sources_ifdef(CONFIG_MAXIM_DSM zephyr_library_sources_ifdef(CONFIG_MAXIM_DSM