Skip to content

Commit

Permalink
Audio: ASRC: Move common code to asrc_common.c
Browse files Browse the repository at this point in the history
Move the common code of IPC3/IPC4 to asrc_common.c

Signed-off-by: Andrula Song <[email protected]>
  • Loading branch information
andrula-song committed Nov 1, 2023
1 parent c87baf3 commit 128f2b3
Show file tree
Hide file tree
Showing 6 changed files with 923 additions and 1,467 deletions.
4 changes: 2 additions & 2 deletions src/audio/asrc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
if(CONFIG_IPC_MAJOR_3)
add_local_sources(sof asrc_ipc3.c asrc_farrow.c asrc_farrow_generic.c asrc_farrow_hifi3.c)
add_local_sources(sof asrc_ipc3.c asrc_common.c asrc_farrow.c asrc_farrow_generic.c asrc_farrow_hifi3.c)
elseif(CONFIG_IPC_MAJOR_4)
add_local_sources(sof asrc_ipc4.c asrc_farrow.c asrc_farrow_generic.c asrc_farrow_hifi3.c)
add_local_sources(sof asrc_ipc4.c asrc_common.c asrc_farrow.c asrc_farrow_generic.c asrc_farrow_hifi3.c)
endif()
Loading

0 comments on commit 128f2b3

Please sign in to comment.