src: rename src.c to src_common.c

Renaming src.c, as this filename will have a different purpose. File
src_common.c will contain common functions for all src types.

Signed-off-by: Tobiasz Dryjanski <tobiaszx.dryjanski@intel.com>
This commit is contained in:
Tobiasz Dryjanski 2024-08-16 11:38:01 +02:00 committed by Liam Girdwood
parent c4c37e040f
commit 285ec51914
11 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
add_local_sources(sof src_generic.c src_hifi2ep.c src_hifi3.c src_hifi4.c src.c)
add_local_sources(sof src_generic.c src_hifi2ep.c src_hifi3.c src_hifi4.c src_common.c)
if(CONFIG_IPC_MAJOR_3)
add_local_sources(sof src_ipc3.c)

View File

@ -38,7 +38,7 @@
#include <stdint.h>
#include <limits.h>
#include "src.h"
#include "src_common.h"
#include "src_config.h"
#if SRC_SHORT || CONFIG_COMP_SRC_TINY

View File

@ -16,7 +16,7 @@
#include <stddef.h>
#include <stdint.h>
#include "src.h"
#include "src_common.h"
#if SRC_SHORT /* 16 bit coefficients version */

View File

@ -10,7 +10,7 @@
#if SRC_HIFIEP
#include "src.h"
#include "src_common.h"
#include <xtensa/config/defs.h>
#include <xtensa/tie/xt_hifi2.h>

View File

@ -10,7 +10,7 @@
#if SRC_HIFI3
#include "src.h"
#include "src_common.h"
#include <xtensa/config/defs.h>
#include <xtensa/tie/xt_hifi3.h>

View File

@ -10,7 +10,7 @@
#if SRC_HIFI4
#include "src.h"
#include "src_common.h"
#include <sof/math/numbers.h>
#include <xtensa/config/defs.h>

View File

@ -38,7 +38,7 @@
#include <stdint.h>
#include <limits.h>
#include "src.h"
#include "src_common.h"
#include "src_config.h"
SOF_DEFINE_REG_UUID(src);

View File

@ -38,7 +38,7 @@
#include <stdint.h>
#include <limits.h>
#include "src.h"
#include "src_common.h"
#include "src_config.h"
SOF_DEFINE_REG_UUID(src4);

View File

@ -6,7 +6,7 @@
#include <rtos/init.h>
#include "src.h"
#include "src_common.h"
#include "src_config.h"
#include "coef/src_lite_int32_define.h"

View File

@ -678,7 +678,7 @@ zephyr_library_sources_ifdef(CONFIG_COMP_SRC
${SOF_AUDIO_PATH}/src/src_generic.c
${SOF_AUDIO_PATH}/src/src_hifi3.c
${SOF_AUDIO_PATH}/src/src_hifi4.c
${SOF_AUDIO_PATH}/src/src.c
${SOF_AUDIO_PATH}/src/src_common.c
${SOF_AUDIO_PATH}/src/src_${ipc_suffix}.c
)