Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/audio/src/Kconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# SPDX-License-Identifier: BSD-3-Clause

config COMP_SRC
bool "SRC component"
tristate "SRC component"
default y
help
Select for SRC component

if COMP_SRC

config COMP_SRC_LITE
bool "SRC_LITE component"
default y
Expand All @@ -17,7 +19,6 @@ config COMP_SRC_LITE
44.1 -> 16 kHz
32 -> 16 kHz
44.1 -> 48
if COMP_SRC

choice
prompt "SRC coefficient set"
Expand Down
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_10_21_2500_5000_fir[480] = {
static const int32_t src_int32_10_21_2500_5000_fir[480] = {
176197,
283398,
-489527,
Expand Down Expand Up @@ -492,7 +492,7 @@ const int32_t src_int32_10_21_2500_5000_fir[480] = {

};

const struct src_stage src_int32_10_21_2500_5000 = {
static const struct src_stage src_int32_10_21_2500_5000 = {
2, 1, 10, 48, 480, 21, 10, 0, 1,
src_int32_10_21_2500_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_10_21_3455_5000_fir[640] = {
static const int32_t src_int32_10_21_3455_5000_fir[640] = {
110400,
517669,
162088,
Expand Down Expand Up @@ -652,7 +652,7 @@ const int32_t src_int32_10_21_3455_5000_fir[640] = {

};

const struct src_stage src_int32_10_21_3455_5000 = {
static const struct src_stage src_int32_10_21_3455_5000 = {
2, 1, 10, 64, 640, 21, 10, 0, 1,
src_int32_10_21_3455_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_10_21_4535_5000_fir[2320] = {
static const int32_t src_int32_10_21_4535_5000_fir[2320] = {
26554,
22041,
-35569,
Expand Down Expand Up @@ -2332,7 +2332,7 @@ const int32_t src_int32_10_21_4535_5000_fir[2320] = {

};

const struct src_stage src_int32_10_21_4535_5000 = {
static const struct src_stage src_int32_10_21_4535_5000 = {
2, 1, 10, 232, 2320, 21, 10, 0, 1,
src_int32_10_21_4535_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_10_9_4535_5000_fir[1080] = {
static const int32_t src_int32_10_9_4535_5000_fir[1080] = {
-35695,
60551,
-91611,
Expand Down Expand Up @@ -1092,7 +1092,7 @@ const int32_t src_int32_10_9_4535_5000_fir[1080] = {

};

const struct src_stage src_int32_10_9_4535_5000 = {
static const struct src_stage src_int32_10_9_4535_5000 = {
8, 9, 10, 108, 1080, 9, 10, 0, 0,
src_int32_10_9_4535_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_16_21_4319_5000_fir[1472] = {
static const int32_t src_int32_16_21_4319_5000_fir[1472] = {
69743,
-28255,
-123867,
Expand Down Expand Up @@ -1484,7 +1484,7 @@ const int32_t src_int32_16_21_4319_5000_fir[1472] = {

};

const struct src_stage src_int32_16_21_4319_5000 = {
static const struct src_stage src_int32_16_21_4319_5000 = {
17, 13, 16, 92, 1472, 21, 16, 0, 0,
src_int32_16_21_4319_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_16_21_4535_5000_fir[2048] = {
static const int32_t src_int32_16_21_4535_5000_fir[2048] = {
66387,
-68365,
-7975,
Expand Down Expand Up @@ -2060,7 +2060,7 @@ const int32_t src_int32_16_21_4535_5000_fir[2048] = {

};

const struct src_stage src_int32_16_21_4535_5000 = {
static const struct src_stage src_int32_16_21_4535_5000 = {
17, 13, 16, 128, 2048, 21, 16, 0, 0,
src_int32_16_21_4535_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_16_7_4082_5000_fir[896] = {
static const int32_t src_int32_16_7_4082_5000_fir[896] = {
-71000,
181977,
-339747,
Expand Down Expand Up @@ -908,7 +908,7 @@ const int32_t src_int32_16_7_4082_5000_fir[896] = {

};

const struct src_stage src_int32_16_7_4082_5000 = {
static const struct src_stage src_int32_16_7_4082_5000 = {
3, 7, 16, 56, 896, 7, 16, 0, 0,
src_int32_16_7_4082_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/** \cond GENERATED_BY_TOOLS_TUNE_SRC */
#include <stdint.h>

const int32_t src_int32_1_2_2268_5000_fir[36] = {
static const int32_t src_int32_1_2_2268_5000_fir[36] = {
1065827,
-37924,
-4976218,
Expand Down Expand Up @@ -47,7 +47,7 @@ const int32_t src_int32_1_2_2268_5000_fir[36] = {

};

const struct src_stage src_int32_1_2_2268_5000 = {
static const struct src_stage src_int32_1_2_2268_5000 = {
1, 0, 1, 36, 36, 2, 1, 0, 1,
src_int32_1_2_2268_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_2_2500_5000_fir[40] = {
static const int32_t src_int32_1_2_2500_5000_fir[40] = {
-879692,
460291,
4237437,
Expand Down Expand Up @@ -52,7 +52,7 @@ const int32_t src_int32_1_2_2500_5000_fir[40] = {

};

const struct src_stage src_int32_1_2_2500_5000 = {
static const struct src_stage src_int32_1_2_2500_5000 = {
1, 0, 1, 40, 40, 2, 1, 0, 1,
src_int32_1_2_2500_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_2_2721_5000_fir[44] = {
static const int32_t src_int32_1_2_2721_5000_fir[44] = {
776925,
-535235,
-3522824,
Expand Down Expand Up @@ -56,7 +56,7 @@ const int32_t src_int32_1_2_2721_5000_fir[44] = {

};

const struct src_stage src_int32_1_2_2721_5000 = {
static const struct src_stage src_int32_1_2_2721_5000 = {
1, 0, 1, 44, 44, 2, 1, 0, 1,
src_int32_1_2_2721_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_2_3401_5000_fir[60] = {
static const int32_t src_int32_1_2_3401_5000_fir[60] = {
483288,
-83413,
-1522435,
Expand Down Expand Up @@ -72,7 +72,7 @@ const int32_t src_int32_1_2_3401_5000_fir[60] = {

};

const struct src_stage src_int32_1_2_3401_5000 = {
static const struct src_stage src_int32_1_2_3401_5000 = {
1, 0, 1, 60, 60, 2, 1, 0, 1,
src_int32_1_2_3401_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_2_3887_5000_fir[84] = {
static const int32_t src_int32_1_2_3887_5000_fir[84] = {
488732,
-7737,
-1049640,
Expand Down Expand Up @@ -96,7 +96,7 @@ const int32_t src_int32_1_2_3887_5000_fir[84] = {

};

const struct src_stage src_int32_1_2_3887_5000 = {
static const struct src_stage src_int32_1_2_3887_5000 = {
1, 0, 1, 84, 84, 2, 1, 0, 1,
src_int32_1_2_3887_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_2_4535_5000_fir[192] = {
static const int32_t src_int32_1_2_4535_5000_fir[192] = {
-215107,
-43725,
301513,
Expand Down Expand Up @@ -204,7 +204,7 @@ const int32_t src_int32_1_2_4535_5000_fir[192] = {

};

const struct src_stage src_int32_1_2_4535_5000 = {
static const struct src_stage src_int32_1_2_4535_5000 = {
1, 0, 1, 192, 192, 2, 1, 0, 1,
src_int32_1_2_4535_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_3_2268_5000_fir[52] = {
static const int32_t src_int32_1_3_2268_5000_fir[52] = {
856478,
-618891,
-4156030,
Expand Down Expand Up @@ -64,7 +64,7 @@ const int32_t src_int32_1_3_2268_5000_fir[52] = {

};

const struct src_stage src_int32_1_3_2268_5000 = {
static const struct src_stage src_int32_1_3_2268_5000 = {
1, 0, 1, 52, 52, 3, 1, 0, 2,
src_int32_1_3_2268_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_3_4535_5000_fir[260] = {
static const int32_t src_int32_1_3_4535_5000_fir[260] = {
-76785,
87265,
208768,
Expand Down Expand Up @@ -272,7 +272,7 @@ const int32_t src_int32_1_3_4535_5000_fir[260] = {

};

const struct src_stage src_int32_1_3_4535_5000 = {
static const struct src_stage src_int32_1_3_4535_5000 = {
1, 0, 1, 260, 260, 3, 1, 0, 1,
src_int32_1_3_4535_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_4_1512_5000_fir[52] = {
static const int32_t src_int32_1_4_1512_5000_fir[52] = {
740488,
-111252,
-2633435,
Expand Down Expand Up @@ -64,7 +64,7 @@ const int32_t src_int32_1_4_1512_5000_fir[52] = {

};

const struct src_stage src_int32_1_4_1512_5000 = {
static const struct src_stage src_int32_1_4_1512_5000 = {
1, 0, 1, 52, 52, 4, 1, 0, 2,
src_int32_1_4_1512_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_4_2268_5000_fir[60] = {
static const int32_t src_int32_1_4_2268_5000_fir[60] = {
-1265010,
-1300023,
42822,
Expand Down Expand Up @@ -72,7 +72,7 @@ const int32_t src_int32_1_4_2268_5000_fir[60] = {

};

const struct src_stage src_int32_1_4_2268_5000 = {
static const struct src_stage src_int32_1_4_2268_5000 = {
1, 0, 1, 60, 60, 4, 1, 0, 2,
src_int32_1_4_2268_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_4_4535_5000_fir[332] = {
static const int32_t src_int32_1_4_4535_5000_fir[332] = {
-246503,
-173077,
24381,
Expand Down Expand Up @@ -344,7 +344,7 @@ const int32_t src_int32_1_4_4535_5000_fir[332] = {

};

const struct src_stage src_int32_1_4_4535_5000 = {
static const struct src_stage src_int32_1_4_4535_5000 = {
1, 0, 1, 332, 332, 4, 1, 0, 2,
src_int32_1_4_4535_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_1_6_1134_5000_fir[68] = {
static const int32_t src_int32_1_6_1134_5000_fir[68] = {
-2393808,
-3445469,
-3907601,
Expand Down Expand Up @@ -80,7 +80,7 @@ const int32_t src_int32_1_6_1134_5000_fir[68] = {

};

const struct src_stage src_int32_1_6_1134_5000 = {
static const struct src_stage src_int32_1_6_1134_5000 = {
1, 0, 1, 68, 68, 6, 1, 0, 3,
src_int32_1_6_1134_5000_fir};
/** \endcond */
4 changes: 2 additions & 2 deletions src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdint.h>

const int32_t src_int32_20_21_1250_5000_fir[320] = {
static const int32_t src_int32_20_21_1250_5000_fir[320] = {
134710,
1035873,
-9174506,
Expand Down Expand Up @@ -332,7 +332,7 @@ const int32_t src_int32_20_21_1250_5000_fir[320] = {

};

const struct src_stage src_int32_20_21_1250_5000 = {
static const struct src_stage src_int32_20_21_1250_5000 = {
1, 1, 20, 16, 320, 21, 20, 0, 0,
src_int32_20_21_1250_5000_fir};
/** \endcond */
Loading