Skip to content

Commit

Permalink
audio: module adapter: create ipc3 and ipc4 specific source file
Browse files Browse the repository at this point in the history
create ipc3 and ipc4 specific source file, these files will
only be used to store specific code accordingly.

Signed-off-by: Baofeng Tian <[email protected]>
  • Loading branch information
btian1 committed Sep 14, 2023
1 parent f27085f commit d09bd41
Show file tree
Hide file tree
Showing 11 changed files with 588 additions and 408 deletions.
6 changes: 5 additions & 1 deletion src/audio/module_adapter/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# SPDX-License-Identifier: BSD-3-Clause


add_local_sources(sof module_adapter.c module/generic.c)
if(CONFIG_IPC_MAJOR_3)
add_local_sources(sof module_adapter.c module_adapter_ipc3.c module/generic.c)
elseif(CONFIG_IPC_MAJOR_4)
add_local_sources(sof module_adapter.c module_adapter_ipc4.c module/generic.c)
endif()

if((NOT CONFIG_LIBRARY) OR CONFIG_LIBRARY_STATIC)
if(CONFIG_CADENCE_CODEC)
Expand Down
Loading

0 comments on commit d09bd41

Please sign in to comment.