From 97b7a9b0e017a80e0d3d2f0f2cba8adcdbf4ed48 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Fri, 7 Jun 2024 12:09:47 +0200 Subject: [PATCH 1/3] src: make data and functions static All the coefficient data and many functions in src don't need to be global, make them static. Signed-off-by: Guennadi Liakhovetski --- .../src/coef/src_ipc4_int32_10_21_2500_5000.h | 4 +-- .../src/coef/src_ipc4_int32_10_21_3455_5000.h | 4 +-- .../src/coef/src_ipc4_int32_10_21_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_10_9_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_16_21_4319_5000.h | 4 +-- .../src/coef/src_ipc4_int32_16_21_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_16_7_4082_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_2_2268_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_2_2500_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_2_2721_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_2_3401_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_2_3887_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_2_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_3_2268_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_3_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_4_1512_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_4_2268_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_4_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_1_6_1134_5000.h | 4 +-- .../src/coef/src_ipc4_int32_20_21_1250_5000.h | 4 +-- .../src/coef/src_ipc4_int32_20_21_2500_5000.h | 4 +-- .../src/coef/src_ipc4_int32_20_21_3125_5000.h | 4 +-- .../src/coef/src_ipc4_int32_20_21_4167_5000.h | 4 +-- .../src/coef/src_ipc4_int32_20_21_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_20_7_2976_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_10_2500_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_10_3455_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_10_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_16_4319_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_16_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_20_1250_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_20_2500_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_20_3125_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_20_4167_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_20_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_2_3239_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_32_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_40_2381_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_40_3968_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_4_1080_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_4_3239_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_5_1728_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_5_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_80_3968_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_8_2160_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_8_3239_5000.h | 4 +-- .../src/coef/src_ipc4_int32_21_8_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_2_1_2268_5000.h | 4 +-- .../src/coef/src_ipc4_int32_2_1_2500_5000.h | 4 +-- .../src/coef/src_ipc4_int32_2_1_2721_5000.h | 4 +-- .../src/coef/src_ipc4_int32_2_1_3401_5000.h | 4 +-- .../src/coef/src_ipc4_int32_2_1_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_2_3_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_32_21_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_3_1_2268_5000.h | 4 +-- .../src/coef/src_ipc4_int32_3_1_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_3_2_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_3_4_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_40_21_2381_5000.h | 4 +-- .../src/coef/src_ipc4_int32_40_21_2976_5000.h | 4 +-- .../src/coef/src_ipc4_int32_40_21_3968_5000.h | 4 +-- .../src/coef/src_ipc4_int32_40_7_2976_5000.h | 4 +-- .../src/coef/src_ipc4_int32_4_1_1134_5000.h | 4 +-- .../src/coef/src_ipc4_int32_4_1_1512_5000.h | 4 +-- .../src/coef/src_ipc4_int32_4_1_2268_5000.h | 4 +-- .../src/coef/src_ipc4_int32_4_1_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_4_21_1080_5000.h | 4 +-- .../src/coef/src_ipc4_int32_4_21_3239_5000.h | 4 +-- .../src/coef/src_ipc4_int32_4_3_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_5_21_1728_5000.h | 4 +-- .../src/coef/src_ipc4_int32_5_21_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_5_7_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_6_1_1134_5000.h | 4 +-- .../src/coef/src_ipc4_int32_7_3_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_7_5_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_7_8_1361_5000.h | 4 +-- .../src/coef/src_ipc4_int32_7_8_2468_5000.h | 4 +-- .../src/coef/src_ipc4_int32_7_8_2721_5000.h | 4 +-- .../src/coef/src_ipc4_int32_7_8_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_21_2160_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_21_3239_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_21_4535_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_7_1361_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_7_2468_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_7_2721_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_7_4082_5000.h | 4 +-- .../src/coef/src_ipc4_int32_8_7_4535_5000.h | 4 +-- src/audio/src/coef/src_ipc4_int32_table.h | 14 ++++----- .../src/coef/src_lite_ipc4_int32_table.h | 14 ++++----- .../src/coef/src_small_int32_1_2_2268_5000.h | 4 +-- .../src/coef/src_small_int32_1_2_4535_5000.h | 4 +-- .../src/coef/src_small_int32_1_3_2268_5000.h | 4 +-- .../src/coef/src_small_int32_1_3_4535_5000.h | 4 +-- .../coef/src_small_int32_20_21_4167_5000.h | 4 +-- .../coef/src_small_int32_21_20_4167_5000.h | 4 +-- .../src/coef/src_small_int32_2_1_2268_5000.h | 4 +-- .../src/coef/src_small_int32_2_1_4535_5000.h | 4 +-- .../src/coef/src_small_int32_2_3_4535_5000.h | 4 +-- .../src/coef/src_small_int32_3_1_2268_5000.h | 4 +-- .../src/coef/src_small_int32_3_1_4535_5000.h | 4 +-- .../src/coef/src_small_int32_3_2_4535_5000.h | 4 +-- .../src/coef/src_small_int32_3_4_4535_5000.h | 4 +-- .../src/coef/src_small_int32_4_3_4535_5000.h | 4 +-- .../src/coef/src_small_int32_4_5_4535_5000.h | 4 +-- .../src/coef/src_small_int32_5_4_4535_5000.h | 4 +-- .../src/coef/src_small_int32_5_6_4354_5000.h | 4 +-- .../src/coef/src_small_int32_6_5_4354_5000.h | 4 +-- .../src/coef/src_small_int32_7_8_4535_5000.h | 4 +-- .../src/coef/src_small_int32_8_7_4535_5000.h | 4 +-- src/audio/src/coef/src_small_int32_table.h | 14 ++++----- .../src/coef/src_std_int32_10_21_4535_5000.h | 4 +-- .../src/coef/src_std_int32_1_2_2268_5000.h | 4 +-- .../src/coef/src_std_int32_1_2_4535_5000.h | 4 +-- .../src/coef/src_std_int32_1_3_2268_5000.h | 4 +-- .../src/coef/src_std_int32_1_3_4535_5000.h | 4 +-- .../src/coef/src_std_int32_20_21_4167_5000.h | 4 +-- .../src/coef/src_std_int32_20_7_2976_5000.h | 4 +-- .../src/coef/src_std_int32_21_20_4167_5000.h | 4 +-- .../src/coef/src_std_int32_21_40_3968_5000.h | 4 +-- .../src/coef/src_std_int32_21_80_3968_5000.h | 4 +-- .../src/coef/src_std_int32_2_1_2268_5000.h | 4 +-- .../src/coef/src_std_int32_2_1_4535_5000.h | 4 +-- .../src/coef/src_std_int32_2_3_4535_5000.h | 4 +-- .../src/coef/src_std_int32_32_21_4535_5000.h | 4 +-- .../src/coef/src_std_int32_3_1_2268_5000.h | 4 +-- .../src/coef/src_std_int32_3_1_4535_5000.h | 4 +-- .../src/coef/src_std_int32_3_2_4535_5000.h | 4 +-- .../src/coef/src_std_int32_3_4_4535_5000.h | 4 +-- .../src/coef/src_std_int32_40_21_3968_5000.h | 4 +-- .../src/coef/src_std_int32_4_3_4535_5000.h | 4 +-- .../src/coef/src_std_int32_4_5_4535_5000.h | 4 +-- .../src/coef/src_std_int32_5_4_4535_5000.h | 4 +-- .../src/coef/src_std_int32_5_6_4354_5000.h | 4 +-- .../src/coef/src_std_int32_5_7_4535_5000.h | 4 +-- .../src/coef/src_std_int32_6_5_4354_5000.h | 4 +-- .../src/coef/src_std_int32_7_8_4535_5000.h | 4 +-- .../src/coef/src_std_int32_8_21_3239_5000.h | 4 +-- .../src/coef/src_std_int32_8_7_2468_5000.h | 4 +-- .../src/coef/src_std_int32_8_7_4535_5000.h | 4 +-- src/audio/src/coef/src_std_int32_table.h | 14 ++++----- .../src/coef/src_tiny_int16_1_2_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_1_3_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_1_6_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_20_21_1667_5000.h | 4 +-- .../src/coef/src_tiny_int16_21_20_1667_5000.h | 4 +-- .../src/coef/src_tiny_int16_24_25_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_25_24_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_2_1_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_2_3_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_3_1_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_3_2_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_6_1_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_7_8_1814_5000.h | 4 +-- .../src/coef/src_tiny_int16_8_7_1814_5000.h | 4 +-- src/audio/src/coef/src_tiny_int16_table.h | 14 ++++----- src/audio/src/src.c | 29 +++++++++---------- src/audio/src/src.h | 17 ----------- 157 files changed, 349 insertions(+), 367 deletions(-) diff --git a/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h index 68f4da2754b6..ce545706e446 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_21_2500_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h b/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h index ab407ec320bf..97d276a98791 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_21_3455_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h index ba233961c259..4380004274a1 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_21_4535_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h index b310c79e02da..944eb78028a2 100644 --- a/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_10_9_4535_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h b/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h index 9203f87a969b..6c277f298c79 100644 --- a/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_16_21_4319_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h index 0147278ddb0c..6c9764cbadf3 100644 --- a/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_16_21_4535_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h b/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h index 48065eafcc45..d3c468bc50f1 100644 --- a/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_16_7_4082_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h index 2e84555a68cf..ff326eeda32f 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_2268_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h index c5be9d9f8efb..4c7a24273cd7 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_2500_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h index 79645c3d88ef..0ee1fe85270d 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_2721_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h index 07599b047405..ba97ad2fb9f7 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_3401_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h index 4e390ba3e738..b1ca37835159 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_3887_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h index c2784674618e..5d2f5750ef3a 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_2_4535_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h index d6c6bc2684fd..400311d50d4f 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_3_2268_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h index dc77f5e04e62..b668f710a423 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_3_4535_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h b/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h index 2b0e2fbf80bb..f39d4d866277 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_4_1512_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h index d62a957104c1..7de054371d04 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_4_2268_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h index 25c9722c8ec0..59f3c464e2e3 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_4_4535_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h b/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h index 2bfd926953e0..77293237d64a 100644 --- a/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_1_6_1134_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h index 06fbcda00496..cb9898d01873 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_1250_5000.h @@ -8,7 +8,7 @@ #include -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, @@ -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 */ diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h index 852299832131..bbecd688b192 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_2500_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_20_21_2500_5000_fir[560] = { +static const int32_t src_int32_20_21_2500_5000_fir[560] = { -5217, -381011, 1487277, @@ -572,7 +572,7 @@ const int32_t src_int32_20_21_2500_5000_fir[560] = { }; -const struct src_stage src_int32_20_21_2500_5000 = { +static const struct src_stage src_int32_20_21_2500_5000 = { 1, 1, 20, 28, 560, 21, 20, 0, 0, src_int32_20_21_2500_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h index f7239fe395d4..8727d574fd7c 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_3125_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_20_21_3125_5000_fir[640] = { +static const int32_t src_int32_20_21_3125_5000_fir[640] = { 81905, -392860, 605436, @@ -652,7 +652,7 @@ const int32_t src_int32_20_21_3125_5000_fir[640] = { }; -const struct src_stage src_int32_20_21_3125_5000 = { +static const struct src_stage src_int32_20_21_3125_5000 = { 1, 1, 20, 32, 640, 21, 20, 0, 0, src_int32_20_21_3125_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h index 3f3c7940188c..c1cb209a0235 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_4167_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_20_21_4167_5000_fir[1200] = { +static const int32_t src_int32_20_21_4167_5000_fir[1200] = { 54594, -184742, 399571, @@ -1212,7 +1212,7 @@ const int32_t src_int32_20_21_4167_5000_fir[1200] = { }; -const struct src_stage src_int32_20_21_4167_5000 = { +static const struct src_stage src_int32_20_21_4167_5000 = { 1, 1, 20, 60, 1200, 21, 20, 0, 0, src_int32_20_21_4167_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h index 63798beaaa1b..4ed3c222a10d 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_21_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_20_21_4535_5000_fir[2080] = { +static const int32_t src_int32_20_21_4535_5000_fir[2080] = { -39854, 85177, -146854, @@ -2092,7 +2092,7 @@ const int32_t src_int32_20_21_4535_5000_fir[2080] = { }; -const struct src_stage src_int32_20_21_4535_5000 = { +static const struct src_stage src_int32_20_21_4535_5000 = { 1, 1, 20, 104, 2080, 21, 20, 0, 0, src_int32_20_21_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h b/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h index f8af9b953179..4e543c4fdca4 100644 --- a/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_20_7_2976_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_20_7_2976_5000_fir[560] = { +static const int32_t src_int32_20_7_2976_5000_fir[560] = { -33375, 393038, -1331352, @@ -572,7 +572,7 @@ const int32_t src_int32_20_7_2976_5000_fir[560] = { }; -const struct src_stage src_int32_20_7_2976_5000 = { +static const struct src_stage src_int32_20_7_2976_5000 = { 1, 3, 20, 28, 560, 7, 20, 0, 0, src_int32_20_7_2976_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h index c48b3af39091..624fca1bf2ad 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_10_2500_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_10_2500_5000_fir[504] = { +static const int32_t src_int32_21_10_2500_5000_fir[504] = { 7704, 568453, -2657822, @@ -516,7 +516,7 @@ const int32_t src_int32_21_10_2500_5000_fir[504] = { }; -const struct src_stage src_int32_21_10_2500_5000 = { +static const struct src_stage src_int32_21_10_2500_5000 = { 9, 19, 21, 24, 504, 10, 21, 0, 0, src_int32_21_10_2500_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h b/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h index 8d23798b3759..eb39b94a3648 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_10_3455_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_10_3455_5000_fir[756] = { +static const int32_t src_int32_21_10_3455_5000_fir[756] = { -37222, 240677, -698458, @@ -768,7 +768,7 @@ const int32_t src_int32_21_10_3455_5000_fir[756] = { }; -const struct src_stage src_int32_21_10_3455_5000 = { +static const struct src_stage src_int32_21_10_3455_5000 = { 9, 19, 21, 36, 756, 10, 21, 0, 0, src_int32_21_10_3455_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h index 37a53fc8d599..7766a5163142 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_10_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_10_4535_5000_fir[2520] = { +static const int32_t src_int32_21_10_4535_5000_fir[2520] = { -9118, 18975, -33943, @@ -2532,7 +2532,7 @@ const int32_t src_int32_21_10_4535_5000_fir[2520] = { }; -const struct src_stage src_int32_21_10_4535_5000 = { +static const struct src_stage src_int32_21_10_4535_5000 = { 9, 19, 21, 120, 2520, 10, 21, 0, 0, src_int32_21_10_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h b/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h index 872a73530723..bb7c44e00392 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_16_4319_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_16_4319_5000_fir[1596] = { +static const int32_t src_int32_21_16_4319_5000_fir[1596] = { -50136, 105527, -181643, @@ -1608,7 +1608,7 @@ const int32_t src_int32_21_16_4319_5000_fir[1596] = { }; -const struct src_stage src_int32_21_16_4319_5000 = { +static const struct src_stage src_int32_21_16_4319_5000 = { 3, 4, 21, 76, 1596, 16, 21, 0, 0, src_int32_21_16_4319_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h index 282cb891f6b6..0c2def816397 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_16_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_16_4535_5000_fir[2436] = { +static const int32_t src_int32_21_16_4535_5000_fir[2436] = { -15208, 29050, -48628, @@ -2448,7 +2448,7 @@ const int32_t src_int32_21_16_4535_5000_fir[2436] = { }; -const struct src_stage src_int32_21_16_4535_5000 = { +static const struct src_stage src_int32_21_16_4535_5000 = { 3, 4, 21, 116, 2436, 16, 21, 0, 0, src_int32_21_16_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h index 398b36ed63bc..db43622d1c84 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_1250_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_20_1250_5000_fir[420] = { +static const int32_t src_int32_21_20_1250_5000_fir[420] = { 94664, -1133291, 202774, @@ -432,7 +432,7 @@ const int32_t src_int32_21_20_1250_5000_fir[420] = { }; -const struct src_stage src_int32_21_20_1250_5000 = { +static const struct src_stage src_int32_21_20_1250_5000 = { 19, 20, 21, 20, 420, 20, 21, 0, 0, src_int32_21_20_1250_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h index 02f37566a0da..ce4da411ce8f 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_2500_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_20_2500_5000_fir[504] = { +static const int32_t src_int32_21_20_2500_5000_fir[504] = { 8116, 587965, -2725209, @@ -516,7 +516,7 @@ const int32_t src_int32_21_20_2500_5000_fir[504] = { }; -const struct src_stage src_int32_21_20_2500_5000 = { +static const struct src_stage src_int32_21_20_2500_5000 = { 19, 20, 21, 24, 504, 20, 21, 0, 0, src_int32_21_20_2500_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h index aefd8320cd0e..66edd652830e 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_3125_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_20_3125_5000_fir[672] = { +static const int32_t src_int32_21_20_3125_5000_fir[672] = { 4928, 190845, -929522, @@ -684,7 +684,7 @@ const int32_t src_int32_21_20_3125_5000_fir[672] = { }; -const struct src_stage src_int32_21_20_3125_5000 = { +static const struct src_stage src_int32_21_20_3125_5000 = { 19, 20, 21, 32, 672, 20, 21, 0, 0, src_int32_21_20_3125_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h index 4317a2883a87..737cf8968eb0 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_4167_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_20_4167_5000_fir[1260] = { +static const int32_t src_int32_21_20_4167_5000_fir[1260] = { -79259, 176349, -298364, @@ -1272,7 +1272,7 @@ const int32_t src_int32_21_20_4167_5000_fir[1260] = { }; -const struct src_stage src_int32_21_20_4167_5000 = { +static const struct src_stage src_int32_21_20_4167_5000 = { 19, 20, 21, 60, 1260, 20, 21, 0, 0, src_int32_21_20_4167_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h index 237fb2df4a0a..f49e48439c7d 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_20_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_20_4535_5000_fir[2268] = { +static const int32_t src_int32_21_20_4535_5000_fir[2268] = { -37260, 62223, -92794, @@ -2280,7 +2280,7 @@ const int32_t src_int32_21_20_4535_5000_fir[2268] = { }; -const struct src_stage src_int32_21_20_4535_5000 = { +static const struct src_stage src_int32_21_20_4535_5000 = { 19, 20, 21, 108, 2268, 20, 21, 0, 0, src_int32_21_20_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h index 6d20ef006d46..111cf33bdf6c 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_2_3239_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_2_3239_5000_fir[672] = { +static const int32_t src_int32_21_2_3239_5000_fir[672] = { -35882, 307961, -974587, @@ -684,7 +684,7 @@ const int32_t src_int32_21_2_3239_5000_fir[672] = { }; -const struct src_stage src_int32_21_2_3239_5000 = { +static const struct src_stage src_int32_21_2_3239_5000 = { 1, 11, 21, 32, 672, 2, 21, 0, 0, src_int32_21_2_3239_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h index 91fb3f1219e7..0d7cf6c46d53 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_32_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_32_4535_5000_fir[3612] = { +static const int32_t src_int32_21_32_4535_5000_fir[3612] = { -8897, -11309, 29648, @@ -3624,7 +3624,7 @@ const int32_t src_int32_21_32_4535_5000_fir[3612] = { }; -const struct src_stage src_int32_21_32_4535_5000 = { +static const struct src_stage src_int32_21_32_4535_5000 = { 3, 2, 21, 172, 3612, 32, 21, 0, 0, src_int32_21_32_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h b/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h index f6349fc44f51..3c9e9af6c834 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_40_2381_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_40_2381_5000_fir[924] = { +static const int32_t src_int32_21_40_2381_5000_fir[924] = { 139084, 174433, -727541, @@ -936,7 +936,7 @@ const int32_t src_int32_21_40_2381_5000_fir[924] = { }; -const struct src_stage src_int32_21_40_2381_5000 = { +static const struct src_stage src_int32_21_40_2381_5000 = { 19, 10, 21, 44, 924, 40, 21, 0, 1, src_int32_21_40_2381_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h b/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h index e21fd3d7192d..c5e7d514e40b 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_40_3968_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_40_3968_5000_fir[1680] = { +static const int32_t src_int32_21_40_3968_5000_fir[1680] = { 150373, 421455, -262792, @@ -1692,7 +1692,7 @@ const int32_t src_int32_21_40_3968_5000_fir[1680] = { }; -const struct src_stage src_int32_21_40_3968_5000 = { +static const struct src_stage src_int32_21_40_3968_5000 = { 19, 10, 21, 80, 1680, 40, 21, 0, 1, src_int32_21_40_3968_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h b/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h index 050c5b36d756..a4011678f867 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_4_1080_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_4_1080_5000_fir[336] = { +static const int32_t src_int32_21_4_1080_5000_fir[336] = { 139978, 2034094, -10158575, @@ -348,7 +348,7 @@ const int32_t src_int32_21_4_1080_5000_fir[336] = { }; -const struct src_stage src_int32_21_4_1080_5000 = { +static const struct src_stage src_int32_21_4_1080_5000 = { 3, 16, 21, 16, 336, 4, 21, 0, 0, src_int32_21_4_1080_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h index 3a1ef9fec020..d73ebbd2afed 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_4_3239_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_4_3239_5000_fir[672] = { +static const int32_t src_int32_21_4_3239_5000_fir[672] = { -35812, 307539, -973534, @@ -684,7 +684,7 @@ const int32_t src_int32_21_4_3239_5000_fir[672] = { }; -const struct src_stage src_int32_21_4_3239_5000 = { +static const struct src_stage src_int32_21_4_3239_5000 = { 3, 16, 21, 32, 672, 4, 21, 0, 0, src_int32_21_4_3239_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h b/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h index 06d41632b7ae..4a7e1c132eee 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_5_1728_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_5_1728_5000_fir[420] = { +static const int32_t src_int32_21_5_1728_5000_fir[420] = { 99153, 137369, -3779111, @@ -432,7 +432,7 @@ const int32_t src_int32_21_5_1728_5000_fir[420] = { }; -const struct src_stage src_int32_21_5_1728_5000 = { +static const struct src_stage src_int32_21_5_1728_5000 = { 4, 17, 21, 20, 420, 5, 21, 0, 0, src_int32_21_5_1728_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h index a8939b4eaef5..84d603013e34 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_5_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_5_4535_5000_fir[2184] = { +static const int32_t src_int32_21_5_4535_5000_fir[2184] = { -46288, 73523, -104226, @@ -2196,7 +2196,7 @@ const int32_t src_int32_21_5_4535_5000_fir[2184] = { }; -const struct src_stage src_int32_21_5_4535_5000 = { +static const struct src_stage src_int32_21_5_4535_5000 = { 4, 17, 21, 104, 2184, 5, 21, 0, 0, src_int32_21_5_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h b/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h index 070002c98029..b98729cef63c 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_80_3968_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_80_3968_5000_fir[3360] = { +static const int32_t src_int32_21_80_3968_5000_fir[3360] = { 146819, 357423, 426811, @@ -3372,7 +3372,7 @@ const int32_t src_int32_21_80_3968_5000_fir[3360] = { }; -const struct src_stage src_int32_21_80_3968_5000 = { +static const struct src_stage src_int32_21_80_3968_5000 = { 19, 5, 21, 160, 3360, 80, 21, 0, 2, src_int32_21_80_3968_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h b/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h index 01542a97df95..214eefcfe2d8 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_8_2160_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_8_2160_5000_fir[420] = { +static const int32_t src_int32_21_8_2160_5000_fir[420] = { -42589, 944576, -2937872, @@ -432,7 +432,7 @@ const int32_t src_int32_21_8_2160_5000_fir[420] = { }; -const struct src_stage src_int32_21_8_2160_5000 = { +static const struct src_stage src_int32_21_8_2160_5000 = { 3, 8, 21, 20, 420, 8, 21, 0, 0, src_int32_21_8_2160_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h index 8e9e1e4819c7..95f58c308284 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_8_3239_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_8_3239_5000_fir[672] = { +static const int32_t src_int32_21_8_3239_5000_fir[672] = { -35144, 303498, -963439, @@ -684,7 +684,7 @@ const int32_t src_int32_21_8_3239_5000_fir[672] = { }; -const struct src_stage src_int32_21_8_3239_5000 = { +static const struct src_stage src_int32_21_8_3239_5000 = { 3, 8, 21, 32, 672, 8, 21, 0, 0, src_int32_21_8_3239_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h index c81f05c65f88..d699e2e11073 100644 --- a/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_21_8_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_21_8_4535_5000_fir[2436] = { +static const int32_t src_int32_21_8_4535_5000_fir[2436] = { -16754, 31637, -52542, @@ -2448,7 +2448,7 @@ const int32_t src_int32_21_8_4535_5000_fir[2436] = { }; -const struct src_stage src_int32_21_8_4535_5000 = { +static const struct src_stage src_int32_21_8_4535_5000 = { 3, 8, 21, 116, 2436, 8, 21, 0, 0, src_int32_21_8_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h index ec081833702a..51e672306fb2 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_2268_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_2_1_2268_5000_fir[48] = { +static const int32_t src_int32_2_1_2268_5000_fir[48] = { 179901, -585106, -849108, @@ -60,7 +60,7 @@ const int32_t src_int32_2_1_2268_5000_fir[48] = { }; -const struct src_stage src_int32_2_1_2268_5000 = { +static const struct src_stage src_int32_2_1_2268_5000 = { 0, 1, 2, 24, 48, 1, 2, 0, 0, src_int32_2_1_2268_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h index 2c55c9efbb70..cbdac272866a 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_2500_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_2_1_2500_5000_fir[40] = { +static const int32_t src_int32_2_1_2500_5000_fir[40] = { -879692, 4237437, -6093558, @@ -52,7 +52,7 @@ const int32_t src_int32_2_1_2500_5000_fir[40] = { }; -const struct src_stage src_int32_2_1_2500_5000 = { +static const struct src_stage src_int32_2_1_2500_5000 = { 0, 1, 2, 20, 40, 1, 2, 0, 0, src_int32_2_1_2500_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h index 226ca7956126..43bf0c26a0e6 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_2721_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_2_1_2721_5000_fir[48] = { +static const int32_t src_int32_2_1_2721_5000_fir[48] = { -197638, 2396223, -6798383, @@ -60,7 +60,7 @@ const int32_t src_int32_2_1_2721_5000_fir[48] = { }; -const struct src_stage src_int32_2_1_2721_5000 = { +static const struct src_stage src_int32_2_1_2721_5000 = { 0, 1, 2, 24, 48, 1, 2, 0, 0, src_int32_2_1_2721_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h index ad5c2caeeb9e..a992e4c2ec1d 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_3401_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_2_1_3401_5000_fir[72] = { +static const int32_t src_int32_2_1_3401_5000_fir[72] = { 32352, 96988, -688904, @@ -84,7 +84,7 @@ const int32_t src_int32_2_1_3401_5000_fir[72] = { }; -const struct src_stage src_int32_2_1_3401_5000 = { +static const struct src_stage src_int32_2_1_3401_5000 = { 0, 1, 2, 36, 72, 1, 2, 0, 0, src_int32_2_1_3401_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h index 87976999dd41..73d53d77fd9f 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_1_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_2_1_4535_5000_fir[240] = { +static const int32_t src_int32_2_1_4535_5000_fir[240] = { 2667, 2962, -15029, @@ -252,7 +252,7 @@ const int32_t src_int32_2_1_4535_5000_fir[240] = { }; -const struct src_stage src_int32_2_1_4535_5000 = { +static const struct src_stage src_int32_2_1_4535_5000 = { 0, 1, 2, 120, 240, 1, 2, 0, 0, src_int32_2_1_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h index aba4e7f9558b..6110ceffd8e6 100644 --- a/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_2_3_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_2_3_4535_5000_fir[264] = { +static const int32_t src_int32_2_3_4535_5000_fir[264] = { -93938, -98991, 260253, @@ -276,7 +276,7 @@ const int32_t src_int32_2_3_4535_5000_fir[264] = { }; -const struct src_stage src_int32_2_3_4535_5000 = { +static const struct src_stage src_int32_2_3_4535_5000 = { 1, 1, 2, 132, 264, 3, 2, 0, 0, src_int32_2_3_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h index 91d7db784e7b..33c00bc23a5c 100644 --- a/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_32_21_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_32_21_4535_5000_fir[3840] = { +static const int32_t src_int32_32_21_4535_5000_fir[3840] = { -9755, 20037, -35510, @@ -3852,7 +3852,7 @@ const int32_t src_int32_32_21_4535_5000_fir[3840] = { }; -const struct src_stage src_int32_32_21_4535_5000 = { +static const struct src_stage src_int32_32_21_4535_5000 = { 19, 29, 32, 120, 3840, 21, 32, 0, 0, src_int32_32_21_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h index 304941cd20e4..87ba29c6518a 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_1_2268_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_3_1_2268_5000_fir[72] = { +static const int32_t src_int32_3_1_2268_5000_fir[72] = { 148487, -366788, -1294441, @@ -84,7 +84,7 @@ const int32_t src_int32_3_1_2268_5000_fir[72] = { }; -const struct src_stage src_int32_3_1_2268_5000 = { +static const struct src_stage src_int32_3_1_2268_5000 = { 0, 1, 3, 24, 72, 1, 3, 0, 0, src_int32_3_1_2268_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h index 202fb63137df..4074dfcfe90d 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_1_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_3_1_4535_5000_fir[336] = { +static const int32_t src_int32_3_1_4535_5000_fir[336] = { -19074, 36914, -62611, @@ -348,7 +348,7 @@ const int32_t src_int32_3_1_4535_5000_fir[336] = { }; -const struct src_stage src_int32_3_1_4535_5000 = { +static const struct src_stage src_int32_3_1_4535_5000 = { 0, 1, 3, 112, 336, 1, 3, 0, 0, src_int32_3_1_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h index 05dc006e0d15..3338fc161956 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_2_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_3_2_4535_5000_fir[324] = { +static const int32_t src_int32_3_2_4535_5000_fir[324] = { -40556, 70616, -110283, @@ -336,7 +336,7 @@ const int32_t src_int32_3_2_4535_5000_fir[324] = { }; -const struct src_stage src_int32_3_2_4535_5000 = { +static const struct src_stage src_int32_3_2_4535_5000 = { 1, 2, 3, 108, 324, 2, 3, 0, 0, src_int32_3_2_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h index dfabf2935eda..31f656c1f7a8 100644 --- a/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_3_4_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_3_4_4535_5000_fir[360] = { +static const int32_t src_int32_3_4_4535_5000_fir[360] = { 77760, 40171, -209346, @@ -372,7 +372,7 @@ const int32_t src_int32_3_4_4535_5000_fir[360] = { }; -const struct src_stage src_int32_3_4_4535_5000 = { +static const struct src_stage src_int32_3_4_4535_5000 = { 1, 1, 3, 120, 360, 4, 3, 0, 0, src_int32_3_4_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h b/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h index 2d52d62e302b..a864814eff3d 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_21_2381_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_40_21_2381_5000_fir[960] = { +static const int32_t src_int32_40_21_2381_5000_fir[960] = { 50137, 248031, -2186295, @@ -972,7 +972,7 @@ const int32_t src_int32_40_21_2381_5000_fir[960] = { }; -const struct src_stage src_int32_40_21_2381_5000 = { +static const struct src_stage src_int32_40_21_2381_5000 = { 11, 21, 40, 24, 960, 21, 40, 0, 0, src_int32_40_21_2381_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h b/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h index e27e7ac6bd0b..97bf13152ebc 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_21_2976_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_40_21_2976_5000_fir[1120] = { +static const int32_t src_int32_40_21_2976_5000_fir[1120] = { -34235, 389198, -1297100, @@ -1132,7 +1132,7 @@ const int32_t src_int32_40_21_2976_5000_fir[1120] = { }; -const struct src_stage src_int32_40_21_2976_5000 = { +static const struct src_stage src_int32_40_21_2976_5000 = { 11, 21, 40, 28, 1120, 21, 40, 0, 0, src_int32_40_21_2976_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h b/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h index 3c8b825e3fab..1b184cd4c2ca 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_21_3968_5000.h @@ -7,7 +7,7 @@ /** \cond GENERATED_BY_TOOLS_TUNE_SRC */ #include -const int32_t src_int32_40_21_3968_5000_fir[2080] = { +static const int32_t src_int32_40_21_3968_5000_fir[2080] = { -48704, 156750, -338114, @@ -2091,7 +2091,7 @@ const int32_t src_int32_40_21_3968_5000_fir[2080] = { }; -const struct src_stage src_int32_40_21_3968_5000 = { +static const struct src_stage src_int32_40_21_3968_5000 = { 11, 21, 40, 52, 2080, 21, 40, 0, 0, src_int32_40_21_3968_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h b/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h index e9822c980327..3fb772e824d2 100644 --- a/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_40_7_2976_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_40_7_2976_5000_fir[1120] = { +static const int32_t src_int32_40_7_2976_5000_fir[1120] = { -39160, 426217, -1390884, @@ -1132,7 +1132,7 @@ const int32_t src_int32_40_7_2976_5000_fir[1120] = { }; -const struct src_stage src_int32_40_7_2976_5000 = { +static const struct src_stage src_int32_40_7_2976_5000 = { 4, 23, 40, 28, 1120, 7, 40, 0, 0, src_int32_40_7_2976_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h index a994daff4d69..56e0b902bff8 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_1134_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_4_1_1134_5000_fir[64] = { +static const int32_t src_int32_4_1_1134_5000_fir[64] = { 165628, 1977250, -11171259, @@ -76,7 +76,7 @@ const int32_t src_int32_4_1_1134_5000_fir[64] = { }; -const struct src_stage src_int32_4_1_1134_5000 = { +static const struct src_stage src_int32_4_1_1134_5000 = { 0, 1, 4, 16, 64, 1, 4, 0, 0, src_int32_4_1_1134_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h index 1a56d51890a1..62a7e9b84f60 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_1512_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_4_1_1512_5000_fir[64] = { +static const int32_t src_int32_4_1_1512_5000_fir[64] = { -77852, 2381370, -5140518, @@ -76,7 +76,7 @@ const int32_t src_int32_4_1_1512_5000_fir[64] = { }; -const struct src_stage src_int32_4_1_1512_5000 = { +static const struct src_stage src_int32_4_1_1512_5000 = { 0, 1, 4, 16, 64, 1, 4, 0, 0, src_int32_4_1_1512_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h index 382dfd1e968d..395b0ca93b9d 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_2268_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_4_1_2268_5000_fir[80] = { +static const int32_t src_int32_4_1_2268_5000_fir[80] = { -87628, 1342863, -3662077, @@ -92,7 +92,7 @@ const int32_t src_int32_4_1_2268_5000_fir[80] = { }; -const struct src_stage src_int32_4_1_2268_5000 = { +static const struct src_stage src_int32_4_1_2268_5000 = { 0, 1, 4, 20, 80, 1, 4, 0, 0, src_int32_4_1_2268_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h index 1dd48f75aebf..3d53542f1d4b 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_1_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_4_1_4535_5000_fir[416] = { +static const int32_t src_int32_4_1_4535_5000_fir[416] = { -49159, 81297, -120482, @@ -428,7 +428,7 @@ const int32_t src_int32_4_1_4535_5000_fir[416] = { }; -const struct src_stage src_int32_4_1_4535_5000 = { +static const struct src_stage src_int32_4_1_4535_5000 = { 0, 1, 4, 104, 416, 1, 4, 0, 0, src_int32_4_1_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h b/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h index 2f4c61a61a47..91eb1bdd173e 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_21_1080_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_4_21_1080_5000_fir[224] = { +static const int32_t src_int32_4_21_1080_5000_fir[224] = { -1944411, -1843091, 94714, @@ -236,7 +236,7 @@ const int32_t src_int32_4_21_1080_5000_fir[224] = { }; -const struct src_stage src_int32_4_21_1080_5000 = { +static const struct src_stage src_int32_4_21_1080_5000 = { 5, 1, 4, 56, 224, 21, 4, 0, 3, src_int32_4_21_1080_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h index 07ab1f288112..c97905046e66 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_21_3239_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_4_21_3239_5000_fir[512] = { +static const int32_t src_int32_4_21_3239_5000_fir[512] = { 27727, -202088, -526392, @@ -524,7 +524,7 @@ const int32_t src_int32_4_21_3239_5000_fir[512] = { }; -const struct src_stage src_int32_4_21_3239_5000 = { +static const struct src_stage src_int32_4_21_3239_5000 = { 5, 1, 4, 128, 512, 21, 4, 0, 2, src_int32_4_21_3239_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h index cc1908b345ae..cffc6982be38 100644 --- a/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_4_3_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_4_3_4535_5000_fir[432] = { +static const int32_t src_int32_4_3_4535_5000_fir[432] = { -38206, 66050, -102182, @@ -444,7 +444,7 @@ const int32_t src_int32_4_3_4535_5000_fir[432] = { }; -const struct src_stage src_int32_4_3_4535_5000 = { +static const struct src_stage src_int32_4_3_4535_5000 = { 2, 3, 4, 108, 432, 3, 4, 0, 0, src_int32_4_3_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h b/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h index cef6aaca9398..c0ec2a704e62 100644 --- a/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_5_21_1728_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_5_21_1728_5000_fir[320] = { +static const int32_t src_int32_5_21_1728_5000_fir[320] = { -201787, 180377, 1173676, @@ -332,7 +332,7 @@ const int32_t src_int32_5_21_1728_5000_fir[320] = { }; -const struct src_stage src_int32_5_21_1728_5000 = { +static const struct src_stage src_int32_5_21_1728_5000 = { 4, 1, 5, 64, 320, 21, 5, 0, 2, src_int32_5_21_1728_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h index f62ab19e18cc..dd4c46f9643f 100644 --- a/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_5_21_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_5_21_4535_5000_fir[1740] = { +static const int32_t src_int32_5_21_4535_5000_fir[1740] = { -236856, -188323, -23805, @@ -1752,7 +1752,7 @@ const int32_t src_int32_5_21_4535_5000_fir[1740] = { }; -const struct src_stage src_int32_5_21_4535_5000 = { +static const struct src_stage src_int32_5_21_4535_5000 = { 4, 1, 5, 348, 1740, 21, 5, 0, 2, src_int32_5_21_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h index ae4b3cdd85b4..9fe2321b17c8 100644 --- a/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_5_7_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_5_7_4535_5000_fir[680] = { +static const int32_t src_int32_5_7_4535_5000_fir[680] = { 42053, -83399, 41109, @@ -692,7 +692,7 @@ const int32_t src_int32_5_7_4535_5000_fir[680] = { }; -const struct src_stage src_int32_5_7_4535_5000 = { +static const struct src_stage src_int32_5_7_4535_5000 = { 4, 3, 5, 136, 680, 7, 5, 0, 0, src_int32_5_7_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h b/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h index dd570ca55756..ea5f80c10b6d 100644 --- a/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_6_1_1134_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_6_1_1134_5000_fir[96] = { +static const int32_t src_int32_6_1_1134_5000_fir[96] = { 141841, 2137064, -10649573, @@ -108,7 +108,7 @@ const int32_t src_int32_6_1_1134_5000_fir[96] = { }; -const struct src_stage src_int32_6_1_1134_5000 = { +static const struct src_stage src_int32_6_1_1134_5000 = { 0, 1, 6, 16, 96, 1, 6, 0, 0, src_int32_6_1_1134_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h index 7775f3f3a3de..ec23514f712f 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_3_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_7_3_4535_5000_fir[728] = { +static const int32_t src_int32_7_3_4535_5000_fir[728] = { -46837, 76113, -110550, @@ -740,7 +740,7 @@ const int32_t src_int32_7_3_4535_5000_fir[728] = { }; -const struct src_stage src_int32_7_3_4535_5000 = { +static const struct src_stage src_int32_7_3_4535_5000 = { 2, 5, 7, 104, 728, 3, 7, 0, 0, src_int32_7_3_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h index bd66c57a6cbe..b7a428c009e0 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_5_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_7_5_4535_5000_fir[812] = { +static const int32_t src_int32_7_5_4535_5000_fir[812] = { -13317, 26352, -45392, @@ -824,7 +824,7 @@ const int32_t src_int32_7_5_4535_5000_fir[812] = { }; -const struct src_stage src_int32_7_5_4535_5000 = { +static const struct src_stage src_int32_7_5_4535_5000 = { 2, 3, 7, 116, 812, 5, 7, 0, 0, src_int32_7_5_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h index 1d8cc19d5012..abf0b81aee66 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_1361_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_7_8_1361_5000_fir[140] = { +static const int32_t src_int32_7_8_1361_5000_fir[140] = { -165190, 129875, 4540182, @@ -152,7 +152,7 @@ const int32_t src_int32_7_8_1361_5000_fir[140] = { }; -const struct src_stage src_int32_7_8_1361_5000 = { +static const struct src_stage src_int32_7_8_1361_5000 = { 1, 1, 7, 20, 140, 8, 7, 0, 0, src_int32_7_8_1361_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h index 9cea2bb95b73..481a61c818ff 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_2468_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_7_8_2468_5000_fir[196] = { +static const int32_t src_int32_7_8_2468_5000_fir[196] = { -49360, 723320, -1199972, @@ -208,7 +208,7 @@ const int32_t src_int32_7_8_2468_5000_fir[196] = { }; -const struct src_stage src_int32_7_8_2468_5000 = { +static const struct src_stage src_int32_7_8_2468_5000 = { 1, 1, 7, 28, 196, 8, 7, 0, 0, src_int32_7_8_2468_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h index 53cf62ce2671..38608a77d797 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_2721_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_7_8_2721_5000_fir[224] = { +static const int32_t src_int32_7_8_2721_5000_fir[224] = { 65478, 113869, -1097521, @@ -236,7 +236,7 @@ const int32_t src_int32_7_8_2721_5000_fir[224] = { }; -const struct src_stage src_int32_7_8_2721_5000 = { +static const struct src_stage src_int32_7_8_2721_5000 = { 1, 1, 7, 32, 224, 8, 7, 0, 0, src_int32_7_8_2721_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h index 7569357f1d93..a5c3fa7a75de 100644 --- a/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_7_8_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_7_8_4535_5000_fir[840] = { +static const int32_t src_int32_7_8_4535_5000_fir[840] = { -9, -30815, 77572, @@ -852,7 +852,7 @@ const int32_t src_int32_7_8_4535_5000_fir[840] = { }; -const struct src_stage src_int32_7_8_4535_5000 = { +static const struct src_stage src_int32_7_8_4535_5000 = { 1, 1, 7, 120, 840, 8, 7, 0, 0, src_int32_7_8_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h b/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h index eca88d5ad5ff..15c2e7623a99 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_21_2160_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_21_2160_5000_fir[384] = { +static const int32_t src_int32_8_21_2160_5000_fir[384] = { 401690, 667023, -90063, @@ -396,7 +396,7 @@ const int32_t src_int32_8_21_2160_5000_fir[384] = { }; -const struct src_stage src_int32_8_21_2160_5000 = { +static const struct src_stage src_int32_8_21_2160_5000 = { 13, 5, 8, 48, 384, 21, 8, 0, 1, src_int32_8_21_2160_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h b/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h index 0d2e11ad7870..6eefe17a67f1 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_21_3239_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_21_3239_5000_fir[544] = { +static const int32_t src_int32_8_21_3239_5000_fir[544] = { 214310, 401153, 58758, @@ -556,7 +556,7 @@ const int32_t src_int32_8_21_3239_5000_fir[544] = { }; -const struct src_stage src_int32_8_21_3239_5000 = { +static const struct src_stage src_int32_8_21_3239_5000 = { 13, 5, 8, 68, 544, 21, 8, 0, 1, src_int32_8_21_3239_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h index 69050d268615..478d4f6ef50c 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_21_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_21_4535_5000_fir[1984] = { +static const int32_t src_int32_8_21_4535_5000_fir[1984] = { -4705, 81658, 87540, @@ -1996,7 +1996,7 @@ const int32_t src_int32_8_21_4535_5000_fir[1984] = { }; -const struct src_stage src_int32_8_21_4535_5000 = { +static const struct src_stage src_int32_8_21_4535_5000 = { 13, 5, 8, 248, 1984, 21, 8, 0, 1, src_int32_8_21_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h index ce5940ca8dda..a1bb0e857e1a 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_1361_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_7_1361_5000_fir[160] = { +static const int32_t src_int32_8_7_1361_5000_fir[160] = { 128091, -1061856, -689775, @@ -172,7 +172,7 @@ const int32_t src_int32_8_7_1361_5000_fir[160] = { }; -const struct src_stage src_int32_8_7_1361_5000 = { +static const struct src_stage src_int32_8_7_1361_5000 = { 6, 7, 8, 20, 160, 7, 8, 0, 0, src_int32_8_7_1361_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h index 7abcce4fa5e3..4ca99d9d85f8 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_2468_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_7_2468_5000_fir[192] = { +static const int32_t src_int32_8_7_2468_5000_fir[192] = { 38025, 446289, -2663076, @@ -204,7 +204,7 @@ const int32_t src_int32_8_7_2468_5000_fir[192] = { }; -const struct src_stage src_int32_8_7_2468_5000 = { +static const struct src_stage src_int32_8_7_2468_5000 = { 6, 7, 8, 24, 192, 7, 8, 0, 0, src_int32_8_7_2468_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h index 659428157de4..e064904224ee 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_2721_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_7_2721_5000_fir[192] = { +static const int32_t src_int32_8_7_2721_5000_fir[192] = { -68651, 727228, -2055563, @@ -204,7 +204,7 @@ const int32_t src_int32_8_7_2721_5000_fir[192] = { }; -const struct src_stage src_int32_8_7_2721_5000 = { +static const struct src_stage src_int32_8_7_2721_5000 = { 6, 7, 8, 24, 192, 7, 8, 0, 0, src_int32_8_7_2721_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h index f3fb747e8815..2092a7395e88 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_4082_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_7_4082_5000_fir[480] = { +static const int32_t src_int32_8_7_4082_5000_fir[480] = { -48290, 148731, -325260, @@ -492,7 +492,7 @@ const int32_t src_int32_8_7_4082_5000_fir[480] = { }; -const struct src_stage src_int32_8_7_4082_5000 = { +static const struct src_stage src_int32_8_7_4082_5000 = { 6, 7, 8, 60, 480, 7, 8, 0, 0, src_int32_8_7_4082_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h b/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h index be1fc74d5af9..855dacb2ad9c 100644 --- a/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h +++ b/src/audio/src/coef/src_ipc4_int32_8_7_4535_5000.h @@ -8,7 +8,7 @@ #include -const int32_t src_int32_8_7_4535_5000_fir[896] = { +static const int32_t src_int32_8_7_4535_5000_fir[896] = { -24053, 43532, -69787, @@ -908,7 +908,7 @@ const int32_t src_int32_8_7_4535_5000_fir[896] = { }; -const struct src_stage src_int32_8_7_4535_5000 = { +static const struct src_stage src_int32_8_7_4535_5000 = { 6, 7, 8, 112, 896, 7, 8, 0, 0, src_int32_8_7_4535_5000_fir}; /** \endcond */ diff --git a/src/audio/src/coef/src_ipc4_int32_table.h b/src/audio/src/coef/src_ipc4_int32_table.h index 379d3bacff51..55bf350bead1 100644 --- a/src/audio/src/coef/src_ipc4_int32_table.h +++ b/src/audio/src/coef/src_ipc4_int32_table.h @@ -100,15 +100,15 @@ #include /* SRC table */ -const int32_t fir_one = 1073741824; -const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; -const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; -const int src_in_fs[16] = { 8000, 11025, 12000, 16000, 18900, 22050, 24000, 32000, +static const int32_t fir_one = 1073741824; +static const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; +static const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; +static const int src_in_fs[16] = { 8000, 11025, 12000, 16000, 18900, 22050, 24000, 32000, 37800, 44100, 48000, 64000, 88200, 96000, 176400, 192000 }; -const int src_out_fs[10] = { 8000, 16000, 24000, 32000, 44100, 48000, 88200, 96000, +static const int src_out_fs[10] = { 8000, 16000, 24000, 32000, 44100, 48000, 88200, 96000, 176400, 192000}; -const struct src_stage * const src_table1[10][16] = { +static const struct src_stage * const src_table1[10][16] = { { &src_int32_1_1_0_0, &src_int32_16_21_4319_5000, &src_int32_2_3_4535_5000, &src_int32_1_2_4535_5000, &src_int32_0_0_0_0, &src_int32_10_21_3455_5000, @@ -201,7 +201,7 @@ const struct src_stage * const src_table1[10][16] = { } }; -const struct src_stage * const src_table2[10][16] = { +static const struct src_stage * const src_table2[10][16] = { { &src_int32_1_1_0_0, &src_int32_20_21_4535_5000, &src_int32_1_1_0_0, &src_int32_1_1_0_0, &src_int32_0_0_0_0, &src_int32_16_21_4535_5000, diff --git a/src/audio/src/coef/src_lite_ipc4_int32_table.h b/src/audio/src/coef/src_lite_ipc4_int32_table.h index 45eda35b59e0..61ec36b62a82 100644 --- a/src/audio/src/coef/src_lite_ipc4_int32_table.h +++ b/src/audio/src/coef/src_lite_ipc4_int32_table.h @@ -21,19 +21,19 @@ #include /* SRC table */ -const int32_t src_fir_one = Q_CONVERT_FLOAT(1, 30); -const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &src_fir_one }; -const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &src_fir_one }; -const int src_in_fs[3] = { 32000, 44100, 48000}; -const int src_out_fs[2] = {16000, 48000}; +static const int32_t src_fir_one = Q_CONVERT_FLOAT(1, 30); +static const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &src_fir_one }; +static const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &src_fir_one }; +static const int src_in_fs[3] = { 32000, 44100, 48000}; +static const int src_out_fs[2] = {16000, 48000}; -const struct src_stage * const src_table1[2][3] = { +static const struct src_stage * const src_table1[2][3] = { { &src_int32_1_2_4535_5000, &src_int32_10_21_3455_5000, &src_int32_1_3_4535_5000 }, { &src_int32_3_2_4535_5000, &src_int32_8_7_4535_5000, &src_int32_1_1_0_0 } }; -const struct src_stage * const src_table2[2][3] = { +static const struct src_stage * const src_table2[2][3] = { { &src_int32_1_1_0_0, &src_int32_16_21_4535_5000, &src_int32_1_1_0_0 }, { &src_int32_1_1_0_0, &src_int32_20_21_4167_5000, &src_int32_1_1_0_0 } }; diff --git a/src/audio/src/coef/src_small_int32_1_2_2268_5000.h b/src/audio/src/coef/src_small_int32_1_2_2268_5000.h index d219ed5ef4f1..cb4096c449b1 100644 --- a/src/audio/src/coef/src_small_int32_1_2_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_1_2_2268_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_1_2_2268_5000_fir[40] = { +static const int32_t src_int32_1_2_2268_5000_fir[40] = { -102613, 1042618, 2316615, @@ -50,6 +50,6 @@ const int32_t src_int32_1_2_2268_5000_fir[40] = { }; -const struct src_stage src_int32_1_2_2268_5000 = { +static const struct src_stage src_int32_1_2_2268_5000 = { 1, 0, 1, 40, 40, 2, 1, 0, 1, src_int32_1_2_2268_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_1_2_4535_5000.h b/src/audio/src/coef/src_small_int32_1_2_4535_5000.h index 652a5d286def..c6f089dc2788 100644 --- a/src/audio/src/coef/src_small_int32_1_2_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_1_2_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_1_2_4535_5000_fir[200] = { +static const int32_t src_int32_1_2_4535_5000_fir[200] = { -79638, 47425, 131437, @@ -210,6 +210,6 @@ const int32_t src_int32_1_2_4535_5000_fir[200] = { }; -const struct src_stage src_int32_1_2_4535_5000 = { +static const struct src_stage src_int32_1_2_4535_5000 = { 1, 0, 1, 200, 200, 2, 1, 0, 1, src_int32_1_2_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_1_3_2268_5000.h b/src/audio/src/coef/src_small_int32_1_3_2268_5000.h index f7f623a729e4..8e877cdefb91 100644 --- a/src/audio/src/coef/src_small_int32_1_3_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_1_3_2268_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_1_3_2268_5000_fir[56] = { +static const int32_t src_int32_1_3_2268_5000_fir[56] = { 636662, 1367445, 1168433, @@ -66,6 +66,6 @@ const int32_t src_int32_1_3_2268_5000_fir[56] = { }; -const struct src_stage src_int32_1_3_2268_5000 = { +static const struct src_stage src_int32_1_3_2268_5000 = { 1, 0, 1, 56, 56, 3, 1, 0, 2, src_int32_1_3_2268_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_1_3_4535_5000.h b/src/audio/src/coef/src_small_int32_1_3_4535_5000.h index b95e304cc04e..7f4d3d1cec38 100644 --- a/src/audio/src/coef/src_small_int32_1_3_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_1_3_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_1_3_4535_5000_fir[268] = { +static const int32_t src_int32_1_3_4535_5000_fir[268] = { 53316, -3193, -78263, @@ -278,6 +278,6 @@ const int32_t src_int32_1_3_4535_5000_fir[268] = { }; -const struct src_stage src_int32_1_3_4535_5000 = { +static const struct src_stage src_int32_1_3_4535_5000 = { 1, 0, 1, 268, 268, 3, 1, 0, 1, src_int32_1_3_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_20_21_4167_5000.h b/src/audio/src/coef/src_small_int32_20_21_4167_5000.h index 446154472844..6dd79a502a30 100644 --- a/src/audio/src/coef/src_small_int32_20_21_4167_5000.h +++ b/src/audio/src/coef/src_small_int32_20_21_4167_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_20_21_4167_5000_fir[1120] = { +static const int32_t src_int32_20_21_4167_5000_fir[1120] = { 125886, -321269, 574508, @@ -1130,6 +1130,6 @@ const int32_t src_int32_20_21_4167_5000_fir[1120] = { }; -const struct src_stage src_int32_20_21_4167_5000 = { +static const struct src_stage src_int32_20_21_4167_5000 = { 1, 1, 20, 56, 1120, 21, 20, 0, 0, src_int32_20_21_4167_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_21_20_4167_5000.h b/src/audio/src/coef/src_small_int32_21_20_4167_5000.h index b71819361362..5258d2df097e 100644 --- a/src/audio/src/coef/src_small_int32_21_20_4167_5000.h +++ b/src/audio/src/coef/src_small_int32_21_20_4167_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_21_20_4167_5000_fir[1092] = { +static const int32_t src_int32_21_20_4167_5000_fir[1092] = { -148365, 253251, -300044, @@ -1102,6 +1102,6 @@ const int32_t src_int32_21_20_4167_5000_fir[1092] = { }; -const struct src_stage src_int32_21_20_4167_5000 = { +static const struct src_stage src_int32_21_20_4167_5000 = { 19, 20, 21, 52, 1092, 20, 21, 0, 0, src_int32_21_20_4167_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_2_1_2268_5000.h b/src/audio/src/coef/src_small_int32_2_1_2268_5000.h index 1e4f748ccdf7..3be189ef34f1 100644 --- a/src/audio/src/coef/src_small_int32_2_1_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_2_1_2268_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_2_1_2268_5000_fir[40] = { +static const int32_t src_int32_2_1_2268_5000_fir[40] = { -96873, 2187025, -6715592, @@ -50,6 +50,6 @@ const int32_t src_int32_2_1_2268_5000_fir[40] = { }; -const struct src_stage src_int32_2_1_2268_5000 = { +static const struct src_stage src_int32_2_1_2268_5000 = { 0, 1, 2, 20, 40, 1, 2, 0, 0, src_int32_2_1_2268_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_2_1_4535_5000.h b/src/audio/src/coef/src_small_int32_2_1_4535_5000.h index 5e452d81a30c..cda9b6305c50 100644 --- a/src/audio/src/coef/src_small_int32_2_1_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_2_1_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_2_1_4535_5000_fir[200] = { +static const int32_t src_int32_2_1_4535_5000_fir[200] = { -79638, 131437, -197166, @@ -210,6 +210,6 @@ const int32_t src_int32_2_1_4535_5000_fir[200] = { }; -const struct src_stage src_int32_2_1_4535_5000 = { +static const struct src_stage src_int32_2_1_4535_5000 = { 0, 1, 2, 100, 200, 1, 2, 0, 0, src_int32_2_1_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_2_3_4535_5000.h b/src/audio/src/coef/src_small_int32_2_3_4535_5000.h index 4fbd65381eb6..5047c6230b35 100644 --- a/src/audio/src/coef/src_small_int32_2_3_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_2_3_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_2_3_4535_5000_fir[272] = { +static const int32_t src_int32_2_3_4535_5000_fir[272] = { 12509, 72682, -101869, @@ -282,6 +282,6 @@ const int32_t src_int32_2_3_4535_5000_fir[272] = { }; -const struct src_stage src_int32_2_3_4535_5000 = { +static const struct src_stage src_int32_2_3_4535_5000 = { 1, 1, 2, 136, 272, 3, 2, 0, 0, src_int32_2_3_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_3_1_2268_5000.h b/src/audio/src/coef/src_small_int32_3_1_2268_5000.h index 4390306216d8..c570c7347d77 100644 --- a/src/audio/src/coef/src_small_int32_3_1_2268_5000.h +++ b/src/audio/src/coef/src_small_int32_3_1_2268_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_3_1_2268_5000_fir[60] = { +static const int32_t src_int32_3_1_2268_5000_fir[60] = { -166536, 2306339, -6050784, @@ -70,6 +70,6 @@ const int32_t src_int32_3_1_2268_5000_fir[60] = { }; -const struct src_stage src_int32_3_1_2268_5000 = { +static const struct src_stage src_int32_3_1_2268_5000 = { 0, 1, 3, 20, 60, 1, 3, 0, 0, src_int32_3_1_2268_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_3_1_4535_5000.h b/src/audio/src/coef/src_small_int32_3_1_4535_5000.h index 072640857c74..40849153f431 100644 --- a/src/audio/src/coef/src_small_int32_3_1_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_3_1_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_3_1_4535_5000_fir[276] = { +static const int32_t src_int32_3_1_4535_5000_fir[276] = { -92545, 140559, -191923, @@ -286,6 +286,6 @@ const int32_t src_int32_3_1_4535_5000_fir[276] = { }; -const struct src_stage src_int32_3_1_4535_5000 = { +static const struct src_stage src_int32_3_1_4535_5000 = { 0, 1, 3, 92, 276, 1, 3, 0, 0, src_int32_3_1_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_3_2_4535_5000.h b/src/audio/src/coef/src_small_int32_3_2_4535_5000.h index b3d077a8a7be..0c593352a8dc 100644 --- a/src/audio/src/coef/src_small_int32_3_2_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_3_2_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_3_2_4535_5000_fir[276] = { +static const int32_t src_int32_3_2_4535_5000_fir[276] = { -92545, 140559, -191923, @@ -286,6 +286,6 @@ const int32_t src_int32_3_2_4535_5000_fir[276] = { }; -const struct src_stage src_int32_3_2_4535_5000 = { +static const struct src_stage src_int32_3_2_4535_5000 = { 1, 2, 3, 92, 276, 2, 3, 0, 0, src_int32_3_2_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_3_4_4535_5000.h b/src/audio/src/coef/src_small_int32_3_4_4535_5000.h index 8978336a8b9d..43ca5ba54e7d 100644 --- a/src/audio/src/coef/src_small_int32_3_4_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_3_4_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_3_4_4535_5000_fir[348] = { +static const int32_t src_int32_3_4_4535_5000_fir[348] = { -44332, 116220, -109098, @@ -358,6 +358,6 @@ const int32_t src_int32_3_4_4535_5000_fir[348] = { }; -const struct src_stage src_int32_3_4_4535_5000 = { +static const struct src_stage src_int32_3_4_4535_5000 = { 1, 1, 3, 116, 348, 4, 3, 0, 0, src_int32_3_4_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_4_3_4535_5000.h b/src/audio/src/coef/src_small_int32_4_3_4535_5000.h index 6801df8a03bc..ebd010e2b8f4 100644 --- a/src/audio/src/coef/src_small_int32_4_3_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_4_3_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_4_3_4535_5000_fir[352] = { +static const int32_t src_int32_4_3_4535_5000_fir[352] = { -92406, 134596, -172955, @@ -362,6 +362,6 @@ const int32_t src_int32_4_3_4535_5000_fir[352] = { }; -const struct src_stage src_int32_4_3_4535_5000 = { +static const struct src_stage src_int32_4_3_4535_5000 = { 2, 3, 4, 88, 352, 3, 4, 0, 0, src_int32_4_3_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_4_5_4535_5000.h b/src/audio/src/coef/src_small_int32_4_5_4535_5000.h index 03d43b8376bc..cc2457a81bec 100644 --- a/src/audio/src/coef/src_small_int32_4_5_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_4_5_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_4_5_4535_5000_fir[448] = { +static const int32_t src_int32_4_5_4535_5000_fir[448] = { 71197, -96779, 49471, @@ -458,6 +458,6 @@ const int32_t src_int32_4_5_4535_5000_fir[448] = { }; -const struct src_stage src_int32_4_5_4535_5000 = { +static const struct src_stage src_int32_4_5_4535_5000 = { 1, 1, 4, 112, 448, 5, 4, 0, 0, src_int32_4_5_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_5_4_4535_5000.h b/src/audio/src/coef/src_small_int32_5_4_4535_5000.h index 1424f1e5ef3e..74987ab7c557 100644 --- a/src/audio/src/coef/src_small_int32_5_4_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_5_4_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_5_4_4535_5000_fir[440] = { +static const int32_t src_int32_5_4_4535_5000_fir[440] = { -83573, 123255, -160503, @@ -450,6 +450,6 @@ const int32_t src_int32_5_4_4535_5000_fir[440] = { }; -const struct src_stage src_int32_5_4_4535_5000 = { +static const struct src_stage src_int32_5_4_4535_5000 = { 3, 4, 5, 88, 440, 4, 5, 0, 0, src_int32_5_4_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_5_6_4354_5000.h b/src/audio/src/coef/src_small_int32_5_6_4354_5000.h index efc6ced8d93f..4a712463e601 100644 --- a/src/audio/src/coef/src_small_int32_5_6_4354_5000.h +++ b/src/audio/src/coef/src_small_int32_5_6_4354_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_5_6_4354_5000_fir[380] = { +static const int32_t src_int32_5_6_4354_5000_fir[380] = { -110765, 202615, -181213, @@ -390,6 +390,6 @@ const int32_t src_int32_5_6_4354_5000_fir[380] = { }; -const struct src_stage src_int32_5_6_4354_5000 = { +static const struct src_stage src_int32_5_6_4354_5000 = { 1, 1, 5, 76, 380, 6, 5, 0, 0, src_int32_5_6_4354_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_6_5_4354_5000.h b/src/audio/src/coef/src_small_int32_6_5_4354_5000.h index bcb9fc20e303..8a2f6054f76c 100644 --- a/src/audio/src/coef/src_small_int32_6_5_4354_5000.h +++ b/src/audio/src/coef/src_small_int32_6_5_4354_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_6_5_4354_5000_fir[384] = { +static const int32_t src_int32_6_5_4354_5000_fir[384] = { -122729, 196634, -249782, @@ -394,6 +394,6 @@ const int32_t src_int32_6_5_4354_5000_fir[384] = { }; -const struct src_stage src_int32_6_5_4354_5000 = { +static const struct src_stage src_int32_6_5_4354_5000 = { 4, 5, 6, 64, 384, 5, 6, 0, 0, src_int32_6_5_4354_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_7_8_4535_5000.h b/src/audio/src/coef/src_small_int32_7_8_4535_5000.h index 6e1a0ccd0993..58a71bc48718 100644 --- a/src/audio/src/coef/src_small_int32_7_8_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_7_8_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_7_8_4535_5000_fir[644] = { +static const int32_t src_int32_7_8_4535_5000_fir[644] = { -1007, -96094, 242640, @@ -654,6 +654,6 @@ const int32_t src_int32_7_8_4535_5000_fir[644] = { }; -const struct src_stage src_int32_7_8_4535_5000 = { +static const struct src_stage src_int32_7_8_4535_5000 = { 1, 1, 7, 92, 644, 8, 7, 0, 0, src_int32_7_8_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_8_7_4535_5000.h b/src/audio/src/coef/src_small_int32_8_7_4535_5000.h index 103cddcd78c2..4d33f547c081 100644 --- a/src/audio/src/coef/src_small_int32_8_7_4535_5000.h +++ b/src/audio/src/coef/src_small_int32_8_7_4535_5000.h @@ -6,7 +6,7 @@ #include -const int32_t src_int32_8_7_4535_5000_fir[640] = { +static const int32_t src_int32_8_7_4535_5000_fir[640] = { -93442, 125750, -138530, @@ -650,6 +650,6 @@ const int32_t src_int32_8_7_4535_5000_fir[640] = { }; -const struct src_stage src_int32_8_7_4535_5000 = { +static const struct src_stage src_int32_8_7_4535_5000 = { 6, 7, 8, 80, 640, 7, 8, 0, 0, src_int32_8_7_4535_5000_fir}; diff --git a/src/audio/src/coef/src_small_int32_table.h b/src/audio/src/coef/src_small_int32_table.h index faa5acbeea64..33cb3ab82c2f 100644 --- a/src/audio/src/coef/src_small_int32_table.h +++ b/src/audio/src/coef/src_small_int32_table.h @@ -32,12 +32,12 @@ #include /* SRC table */ -const int32_t fir_one = 1073741824; -const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; -const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; -const int src_in_fs[7] = { 8000, 16000, 24000, 32000, 44100, 48000, 50000}; -const int src_out_fs[7] = { 8000, 16000, 24000, 32000, 44100, 48000, 50000}; -const struct src_stage * const src_table1[7][7] = { +static const int32_t fir_one = 1073741824; +static const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; +static const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; +static const int src_in_fs[7] = { 8000, 16000, 24000, 32000, 44100, 48000, 50000}; +static const int src_out_fs[7] = { 8000, 16000, 24000, 32000, 44100, 48000, 50000}; +static const struct src_stage * const src_table1[7][7] = { { &src_int32_1_1_0_0, &src_int32_1_2_4535_5000, &src_int32_1_3_4535_5000, &src_int32_1_2_2268_5000, &src_int32_0_0_0_0, &src_int32_1_3_2268_5000, @@ -71,7 +71,7 @@ const struct src_stage * const src_table1[7][7] = { &src_int32_1_1_0_0} }; -const struct src_stage * const src_table2[7][7] = { +static const struct src_stage * const src_table2[7][7] = { { &src_int32_1_1_0_0, &src_int32_1_1_0_0, &src_int32_1_1_0_0, &src_int32_1_2_4535_5000, &src_int32_0_0_0_0, &src_int32_1_2_4535_5000, diff --git a/src/audio/src/coef/src_std_int32_10_21_4535_5000.h b/src/audio/src/coef/src_std_int32_10_21_4535_5000.h index e11aad1a6c5d..44a207ef5ecd 100644 --- a/src/audio/src/coef/src_std_int32_10_21_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_10_21_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_10_21_4535_5000_fir[1720] = { +static const int32_t src_int32_10_21_4535_5000_fir[1720] = { 64820, 140936, -51986, @@ -1731,6 +1731,6 @@ const int32_t src_int32_10_21_4535_5000_fir[1720] = { }; -const struct src_stage src_int32_10_21_4535_5000 = { +static const struct src_stage src_int32_10_21_4535_5000 = { 2, 1, 10, 172, 1720, 21, 10, 0, 1, src_int32_10_21_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_1_2_2268_5000.h b/src/audio/src/coef/src_std_int32_1_2_2268_5000.h index a366e9f4ee34..c27402466cff 100644 --- a/src/audio/src/coef/src_std_int32_1_2_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_1_2_2268_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_1_2_2268_5000_fir[40] = { +static const int32_t src_int32_1_2_2268_5000_fir[40] = { -102613, 1042618, 2316615, @@ -51,6 +51,6 @@ const int32_t src_int32_1_2_2268_5000_fir[40] = { }; -const struct src_stage src_int32_1_2_2268_5000 = { +static const struct src_stage src_int32_1_2_2268_5000 = { 1, 0, 1, 40, 40, 2, 1, 0, 1, src_int32_1_2_2268_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_1_2_4535_5000.h b/src/audio/src/coef/src_std_int32_1_2_4535_5000.h index c454ac1886b2..64d3f1641c7e 100644 --- a/src/audio/src/coef/src_std_int32_1_2_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_1_2_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_1_2_4535_5000_fir[200] = { +static const int32_t src_int32_1_2_4535_5000_fir[200] = { -84357, 50235, 139225, @@ -211,6 +211,6 @@ const int32_t src_int32_1_2_4535_5000_fir[200] = { }; -const struct src_stage src_int32_1_2_4535_5000 = { +static const struct src_stage src_int32_1_2_4535_5000 = { 1, 0, 1, 200, 200, 2, 1, 0, 1, src_int32_1_2_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_1_3_2268_5000.h b/src/audio/src/coef/src_std_int32_1_3_2268_5000.h index bd26d4ec9c9d..41f416116967 100644 --- a/src/audio/src/coef/src_std_int32_1_3_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_1_3_2268_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_1_3_2268_5000_fir[56] = { +static const int32_t src_int32_1_3_2268_5000_fir[56] = { 636662, 1367445, 1168433, @@ -67,6 +67,6 @@ const int32_t src_int32_1_3_2268_5000_fir[56] = { }; -const struct src_stage src_int32_1_3_2268_5000 = { +static const struct src_stage src_int32_1_3_2268_5000 = { 1, 0, 1, 56, 56, 3, 1, 0, 2, src_int32_1_3_2268_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_1_3_4535_5000.h b/src/audio/src/coef/src_std_int32_1_3_4535_5000.h index 38109b271356..580ddebacddd 100644 --- a/src/audio/src/coef/src_std_int32_1_3_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_1_3_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_1_3_4535_5000_fir[268] = { +static const int32_t src_int32_1_3_4535_5000_fir[268] = { 53316, -3193, -78263, @@ -279,6 +279,6 @@ const int32_t src_int32_1_3_4535_5000_fir[268] = { }; -const struct src_stage src_int32_1_3_4535_5000 = { +static const struct src_stage src_int32_1_3_4535_5000 = { 1, 0, 1, 268, 268, 3, 1, 0, 1, src_int32_1_3_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_20_21_4167_5000.h b/src/audio/src/coef/src_std_int32_20_21_4167_5000.h index b5bbe099a202..a26101ddd7bc 100644 --- a/src/audio/src/coef/src_std_int32_20_21_4167_5000.h +++ b/src/audio/src/coef/src_std_int32_20_21_4167_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_20_21_4167_5000_fir[1120] = { +static const int32_t src_int32_20_21_4167_5000_fir[1120] = { 125886, -321269, 574508, @@ -1131,6 +1131,6 @@ const int32_t src_int32_20_21_4167_5000_fir[1120] = { }; -const struct src_stage src_int32_20_21_4167_5000 = { +static const struct src_stage src_int32_20_21_4167_5000 = { 1, 1, 20, 56, 1120, 21, 20, 0, 0, src_int32_20_21_4167_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_20_7_2976_5000.h b/src/audio/src/coef/src_std_int32_20_7_2976_5000.h index 6f7c70e666b4..9bb8d4879e69 100644 --- a/src/audio/src/coef/src_std_int32_20_7_2976_5000.h +++ b/src/audio/src/coef/src_std_int32_20_7_2976_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_20_7_2976_5000_fir[480] = { +static const int32_t src_int32_20_7_2976_5000_fir[480] = { -256723, 1344746, -2486660, @@ -491,6 +491,6 @@ const int32_t src_int32_20_7_2976_5000_fir[480] = { }; -const struct src_stage src_int32_20_7_2976_5000 = { +static const struct src_stage src_int32_20_7_2976_5000 = { 1, 3, 20, 24, 480, 7, 20, 0, 0, src_int32_20_7_2976_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_21_20_4167_5000.h b/src/audio/src/coef/src_std_int32_21_20_4167_5000.h index 34d1467e4d63..18aca9ba361d 100644 --- a/src/audio/src/coef/src_std_int32_21_20_4167_5000.h +++ b/src/audio/src/coef/src_std_int32_21_20_4167_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_21_20_4167_5000_fir[1092] = { +static const int32_t src_int32_21_20_4167_5000_fir[1092] = { -148365, 253251, -300044, @@ -1103,6 +1103,6 @@ const int32_t src_int32_21_20_4167_5000_fir[1092] = { }; -const struct src_stage src_int32_21_20_4167_5000 = { +static const struct src_stage src_int32_21_20_4167_5000 = { 19, 20, 21, 52, 1092, 20, 21, 0, 0, src_int32_21_20_4167_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_21_40_3968_5000.h b/src/audio/src/coef/src_std_int32_21_40_3968_5000.h index 87db87cf59d1..388d4216ce90 100644 --- a/src/audio/src/coef/src_std_int32_21_40_3968_5000.h +++ b/src/audio/src/coef/src_std_int32_21_40_3968_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_21_40_3968_5000_fir[1596] = { +static const int32_t src_int32_21_40_3968_5000_fir[1596] = { -210430, -287852, 472564, @@ -1607,6 +1607,6 @@ const int32_t src_int32_21_40_3968_5000_fir[1596] = { }; -const struct src_stage src_int32_21_40_3968_5000 = { +static const struct src_stage src_int32_21_40_3968_5000 = { 19, 10, 21, 76, 1596, 40, 21, 0, 1, src_int32_21_40_3968_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_21_80_3968_5000.h b/src/audio/src/coef/src_std_int32_21_80_3968_5000.h index 79ffbf91dce5..fea250e377c6 100644 --- a/src/audio/src/coef/src_std_int32_21_80_3968_5000.h +++ b/src/audio/src/coef/src_std_int32_21_80_3968_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_21_80_3968_5000_fir[3108] = { +static const int32_t src_int32_21_80_3968_5000_fir[3108] = { -174020, 2072, 309190, @@ -3119,6 +3119,6 @@ const int32_t src_int32_21_80_3968_5000_fir[3108] = { }; -const struct src_stage src_int32_21_80_3968_5000 = { +static const struct src_stage src_int32_21_80_3968_5000 = { 19, 5, 21, 148, 3108, 80, 21, 0, 2, src_int32_21_80_3968_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_2_1_2268_5000.h b/src/audio/src/coef/src_std_int32_2_1_2268_5000.h index 7d7521e39e19..953e65c155ae 100644 --- a/src/audio/src/coef/src_std_int32_2_1_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_2_1_2268_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_2_1_2268_5000_fir[40] = { +static const int32_t src_int32_2_1_2268_5000_fir[40] = { -96873, 2187025, -6715592, @@ -51,6 +51,6 @@ const int32_t src_int32_2_1_2268_5000_fir[40] = { }; -const struct src_stage src_int32_2_1_2268_5000 = { +static const struct src_stage src_int32_2_1_2268_5000 = { 0, 1, 2, 20, 40, 1, 2, 0, 0, src_int32_2_1_2268_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_2_1_4535_5000.h b/src/audio/src/coef/src_std_int32_2_1_4535_5000.h index 7e78e7b33c1e..333d603e97bb 100644 --- a/src/audio/src/coef/src_std_int32_2_1_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_2_1_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_2_1_4535_5000_fir[200] = { +static const int32_t src_int32_2_1_4535_5000_fir[200] = { -79638, 131437, -197166, @@ -211,6 +211,6 @@ const int32_t src_int32_2_1_4535_5000_fir[200] = { }; -const struct src_stage src_int32_2_1_4535_5000 = { +static const struct src_stage src_int32_2_1_4535_5000 = { 0, 1, 2, 100, 200, 1, 2, 0, 0, src_int32_2_1_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_2_3_4535_5000.h b/src/audio/src/coef/src_std_int32_2_3_4535_5000.h index 9d7f864804a6..7863ebe826cf 100644 --- a/src/audio/src/coef/src_std_int32_2_3_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_2_3_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_2_3_4535_5000_fir[272] = { +static const int32_t src_int32_2_3_4535_5000_fir[272] = { 12509, 72682, -101869, @@ -283,6 +283,6 @@ const int32_t src_int32_2_3_4535_5000_fir[272] = { }; -const struct src_stage src_int32_2_3_4535_5000 = { +static const struct src_stage src_int32_2_3_4535_5000 = { 1, 1, 2, 136, 272, 3, 2, 0, 0, src_int32_2_3_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_32_21_4535_5000.h b/src/audio/src/coef/src_std_int32_32_21_4535_5000.h index aa57e547bbac..b20976b16dea 100644 --- a/src/audio/src/coef/src_std_int32_32_21_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_32_21_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_32_21_4535_5000_fir[2816] = { +static const int32_t src_int32_32_21_4535_5000_fir[2816] = { -70924, 93303, -103450, @@ -2827,6 +2827,6 @@ const int32_t src_int32_32_21_4535_5000_fir[2816] = { }; -const struct src_stage src_int32_32_21_4535_5000 = { +static const struct src_stage src_int32_32_21_4535_5000 = { 19, 29, 32, 88, 2816, 21, 32, 0, 0, src_int32_32_21_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_3_1_2268_5000.h b/src/audio/src/coef/src_std_int32_3_1_2268_5000.h index cc826dbc3c05..bb4ef7d82f07 100644 --- a/src/audio/src/coef/src_std_int32_3_1_2268_5000.h +++ b/src/audio/src/coef/src_std_int32_3_1_2268_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_3_1_2268_5000_fir[60] = { +static const int32_t src_int32_3_1_2268_5000_fir[60] = { -166536, 2306339, -6050784, @@ -71,6 +71,6 @@ const int32_t src_int32_3_1_2268_5000_fir[60] = { }; -const struct src_stage src_int32_3_1_2268_5000 = { +static const struct src_stage src_int32_3_1_2268_5000 = { 0, 1, 3, 20, 60, 1, 3, 0, 0, src_int32_3_1_2268_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_3_1_4535_5000.h b/src/audio/src/coef/src_std_int32_3_1_4535_5000.h index ad6aefdb63e5..db312c9c80ae 100644 --- a/src/audio/src/coef/src_std_int32_3_1_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_3_1_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_3_1_4535_5000_fir[276] = { +static const int32_t src_int32_3_1_4535_5000_fir[276] = { -92545, 140559, -191923, @@ -287,6 +287,6 @@ const int32_t src_int32_3_1_4535_5000_fir[276] = { }; -const struct src_stage src_int32_3_1_4535_5000 = { +static const struct src_stage src_int32_3_1_4535_5000 = { 0, 1, 3, 92, 276, 1, 3, 0, 0, src_int32_3_1_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_3_2_4535_5000.h b/src/audio/src/coef/src_std_int32_3_2_4535_5000.h index 05858d298ffd..8d30cb8efb77 100644 --- a/src/audio/src/coef/src_std_int32_3_2_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_3_2_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_3_2_4535_5000_fir[276] = { +static const int32_t src_int32_3_2_4535_5000_fir[276] = { -92545, 140559, -191923, @@ -287,6 +287,6 @@ const int32_t src_int32_3_2_4535_5000_fir[276] = { }; -const struct src_stage src_int32_3_2_4535_5000 = { +static const struct src_stage src_int32_3_2_4535_5000 = { 1, 2, 3, 92, 276, 2, 3, 0, 0, src_int32_3_2_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_3_4_4535_5000.h b/src/audio/src/coef/src_std_int32_3_4_4535_5000.h index 9624fcacb723..c679a1f2fe5b 100644 --- a/src/audio/src/coef/src_std_int32_3_4_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_3_4_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_3_4_4535_5000_fir[348] = { +static const int32_t src_int32_3_4_4535_5000_fir[348] = { -44332, 116220, -109098, @@ -359,6 +359,6 @@ const int32_t src_int32_3_4_4535_5000_fir[348] = { }; -const struct src_stage src_int32_3_4_4535_5000 = { +static const struct src_stage src_int32_3_4_4535_5000 = { 1, 1, 3, 116, 348, 4, 3, 0, 0, src_int32_3_4_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_40_21_3968_5000.h b/src/audio/src/coef/src_std_int32_40_21_3968_5000.h index b9392aa72075..6a2da0181623 100644 --- a/src/audio/src/coef/src_std_int32_40_21_3968_5000.h +++ b/src/audio/src/coef/src_std_int32_40_21_3968_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_40_21_3968_5000_fir[1600] = { +static const int32_t src_int32_40_21_3968_5000_fir[1600] = { -168855, 272170, -146895, @@ -1611,6 +1611,6 @@ const int32_t src_int32_40_21_3968_5000_fir[1600] = { }; -const struct src_stage src_int32_40_21_3968_5000 = { +static const struct src_stage src_int32_40_21_3968_5000 = { 11, 21, 40, 40, 1600, 21, 40, 0, 0, src_int32_40_21_3968_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_4_3_4535_5000.h b/src/audio/src/coef/src_std_int32_4_3_4535_5000.h index 3a58b807953b..ccef7fc03ad8 100644 --- a/src/audio/src/coef/src_std_int32_4_3_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_4_3_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_4_3_4535_5000_fir[352] = { +static const int32_t src_int32_4_3_4535_5000_fir[352] = { -92406, 134596, -172955, @@ -363,6 +363,6 @@ const int32_t src_int32_4_3_4535_5000_fir[352] = { }; -const struct src_stage src_int32_4_3_4535_5000 = { +static const struct src_stage src_int32_4_3_4535_5000 = { 2, 3, 4, 88, 352, 3, 4, 0, 0, src_int32_4_3_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_4_5_4535_5000.h b/src/audio/src/coef/src_std_int32_4_5_4535_5000.h index e99221f5776e..4bafe75c987f 100644 --- a/src/audio/src/coef/src_std_int32_4_5_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_4_5_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_4_5_4535_5000_fir[448] = { +static const int32_t src_int32_4_5_4535_5000_fir[448] = { 71197, -96779, 49471, @@ -459,6 +459,6 @@ const int32_t src_int32_4_5_4535_5000_fir[448] = { }; -const struct src_stage src_int32_4_5_4535_5000 = { +static const struct src_stage src_int32_4_5_4535_5000 = { 1, 1, 4, 112, 448, 5, 4, 0, 0, src_int32_4_5_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_5_4_4535_5000.h b/src/audio/src/coef/src_std_int32_5_4_4535_5000.h index 8c2b28c5cf16..4e381a8d69c9 100644 --- a/src/audio/src/coef/src_std_int32_5_4_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_5_4_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_5_4_4535_5000_fir[440] = { +static const int32_t src_int32_5_4_4535_5000_fir[440] = { -83573, 123255, -160503, @@ -451,6 +451,6 @@ const int32_t src_int32_5_4_4535_5000_fir[440] = { }; -const struct src_stage src_int32_5_4_4535_5000 = { +static const struct src_stage src_int32_5_4_4535_5000 = { 3, 4, 5, 88, 440, 4, 5, 0, 0, src_int32_5_4_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_5_6_4354_5000.h b/src/audio/src/coef/src_std_int32_5_6_4354_5000.h index 207f24596fb1..2b103cae3e0c 100644 --- a/src/audio/src/coef/src_std_int32_5_6_4354_5000.h +++ b/src/audio/src/coef/src_std_int32_5_6_4354_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_5_6_4354_5000_fir[380] = { +static const int32_t src_int32_5_6_4354_5000_fir[380] = { -110765, 202615, -181213, @@ -391,6 +391,6 @@ const int32_t src_int32_5_6_4354_5000_fir[380] = { }; -const struct src_stage src_int32_5_6_4354_5000 = { +static const struct src_stage src_int32_5_6_4354_5000 = { 1, 1, 5, 76, 380, 6, 5, 0, 0, src_int32_5_6_4354_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_5_7_4535_5000.h b/src/audio/src/coef/src_std_int32_5_7_4535_5000.h index 479526aa3ceb..23c470dc595f 100644 --- a/src/audio/src/coef/src_std_int32_5_7_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_5_7_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_5_7_4535_5000_fir[580] = { +static const int32_t src_int32_5_7_4535_5000_fir[580] = { -38462, 102037, -72148, @@ -591,6 +591,6 @@ const int32_t src_int32_5_7_4535_5000_fir[580] = { }; -const struct src_stage src_int32_5_7_4535_5000 = { +static const struct src_stage src_int32_5_7_4535_5000 = { 4, 3, 5, 116, 580, 7, 5, 0, 0, src_int32_5_7_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_6_5_4354_5000.h b/src/audio/src/coef/src_std_int32_6_5_4354_5000.h index cfa9d1ad6902..6ebcb24f63fa 100644 --- a/src/audio/src/coef/src_std_int32_6_5_4354_5000.h +++ b/src/audio/src/coef/src_std_int32_6_5_4354_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_6_5_4354_5000_fir[384] = { +static const int32_t src_int32_6_5_4354_5000_fir[384] = { -122729, 196634, -249782, @@ -395,6 +395,6 @@ const int32_t src_int32_6_5_4354_5000_fir[384] = { }; -const struct src_stage src_int32_6_5_4354_5000 = { +static const struct src_stage src_int32_6_5_4354_5000 = { 4, 5, 6, 64, 384, 5, 6, 0, 0, src_int32_6_5_4354_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_7_8_4535_5000.h b/src/audio/src/coef/src_std_int32_7_8_4535_5000.h index 028b2fb81205..174e6125864e 100644 --- a/src/audio/src/coef/src_std_int32_7_8_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_7_8_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_7_8_4535_5000_fir[644] = { +static const int32_t src_int32_7_8_4535_5000_fir[644] = { -1007, -96094, 242640, @@ -655,6 +655,6 @@ const int32_t src_int32_7_8_4535_5000_fir[644] = { }; -const struct src_stage src_int32_7_8_4535_5000 = { +static const struct src_stage src_int32_7_8_4535_5000 = { 1, 1, 7, 92, 644, 8, 7, 0, 0, src_int32_7_8_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_8_21_3239_5000.h b/src/audio/src/coef/src_std_int32_8_21_3239_5000.h index 025637d9c786..aaa085d2ae54 100644 --- a/src/audio/src/coef/src_std_int32_8_21_3239_5000.h +++ b/src/audio/src/coef/src_std_int32_8_21_3239_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_8_21_3239_5000_fir[480] = { +static const int32_t src_int32_8_21_3239_5000_fir[480] = { -149226, 295321, 1071448, @@ -491,6 +491,6 @@ const int32_t src_int32_8_21_3239_5000_fir[480] = { }; -const struct src_stage src_int32_8_21_3239_5000 = { +static const struct src_stage src_int32_8_21_3239_5000 = { 13, 5, 8, 60, 480, 21, 8, 0, 1, src_int32_8_21_3239_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_8_7_2468_5000.h b/src/audio/src/coef/src_std_int32_8_7_2468_5000.h index 49b65316347d..f8d5dc57c3eb 100644 --- a/src/audio/src/coef/src_std_int32_8_7_2468_5000.h +++ b/src/audio/src/coef/src_std_int32_8_7_2468_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_8_7_2468_5000_fir[160] = { +static const int32_t src_int32_8_7_2468_5000_fir[160] = { -422312, 2368615, -2932237, @@ -171,6 +171,6 @@ const int32_t src_int32_8_7_2468_5000_fir[160] = { }; -const struct src_stage src_int32_8_7_2468_5000 = { +static const struct src_stage src_int32_8_7_2468_5000 = { 6, 7, 8, 20, 160, 7, 8, 0, 0, src_int32_8_7_2468_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_8_7_4535_5000.h b/src/audio/src/coef/src_std_int32_8_7_4535_5000.h index a6a732b7ac18..8bb33c1bccd8 100644 --- a/src/audio/src/coef/src_std_int32_8_7_4535_5000.h +++ b/src/audio/src/coef/src_std_int32_8_7_4535_5000.h @@ -7,7 +7,7 @@ #include -const int32_t src_int32_8_7_4535_5000_fir[640] = { +static const int32_t src_int32_8_7_4535_5000_fir[640] = { -93442, 125750, -138530, @@ -651,6 +651,6 @@ const int32_t src_int32_8_7_4535_5000_fir[640] = { }; -const struct src_stage src_int32_8_7_4535_5000 = { +static const struct src_stage src_int32_8_7_4535_5000 = { 6, 7, 8, 80, 640, 7, 8, 0, 0, src_int32_8_7_4535_5000_fir}; diff --git a/src/audio/src/coef/src_std_int32_table.h b/src/audio/src/coef/src_std_int32_table.h index 4d095537d9a1..d0aa798b17e9 100644 --- a/src/audio/src/coef/src_std_int32_table.h +++ b/src/audio/src/coef/src_std_int32_table.h @@ -42,14 +42,14 @@ #include /* SRC table */ -const int32_t fir_one = 1073741824; -const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; -const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; -const int src_in_fs[15] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, +static const int32_t fir_one = 1073741824; +static const struct src_stage src_int32_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; +static const struct src_stage src_int32_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; +static const int src_in_fs[15] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 50000, 64000, 88200, 96000, 176400, 192000}; -const int src_out_fs[10] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, +static const int src_out_fs[10] = { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 50000}; -const struct src_stage * const src_table1[10][15] = { +static const struct src_stage * const src_table1[10][15] = { { &src_int32_1_1_0_0, &src_int32_0_0_0_0, &src_int32_0_0_0_0, &src_int32_1_2_4535_5000, &src_int32_0_0_0_0, &src_int32_1_3_4535_5000, @@ -137,7 +137,7 @@ const struct src_stage * const src_table1[10][15] = { } }; -const struct src_stage * const src_table2[10][15] = { +static const struct src_stage * const src_table2[10][15] = { { &src_int32_1_1_0_0, &src_int32_0_0_0_0, &src_int32_0_0_0_0, &src_int32_1_1_0_0, &src_int32_0_0_0_0, &src_int32_1_1_0_0, diff --git a/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h b/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h index 71acd66467b3..b9b2402ab243 100644 --- a/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_1_2_1814_5000.h @@ -6,7 +6,7 @@ #include -const int16_t src_int16_1_2_1814_5000_fir[32] = { +static const int16_t src_int16_1_2_1814_5000_fir[32] = { -7, 7, 63, @@ -42,6 +42,6 @@ const int16_t src_int16_1_2_1814_5000_fir[32] = { }; -const struct src_stage src_int16_1_2_1814_5000 = { +static const struct src_stage src_int16_1_2_1814_5000 = { 1, 0, 1, 32, 32, 2, 1, 0, 1, src_int16_1_2_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h b/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h index af7fe712e403..76634b12c1d6 100644 --- a/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_1_3_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_1_3_1814_5000_fir[48] = { +static const int16_t src_int16_1_3_1814_5000_fir[48] = { -9, -7, 22, @@ -59,6 +59,6 @@ const int16_t src_int16_1_3_1814_5000_fir[48] = { }; -const struct src_stage src_int16_1_3_1814_5000 = { +static const struct src_stage src_int16_1_3_1814_5000 = { 1, 0, 1, 48, 48, 3, 1, 0, 2, src_int16_1_3_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h b/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h index 3b76dd59eeda..96dbf415df45 100644 --- a/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_1_6_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_1_6_1814_5000_fir[92] = { +static const int16_t src_int16_1_6_1814_5000_fir[92] = { -4, 0, 10, @@ -103,6 +103,6 @@ const int16_t src_int16_1_6_1814_5000_fir[92] = { }; -const struct src_stage src_int16_1_6_1814_5000 = { +static const struct src_stage src_int16_1_6_1814_5000 = { 1, 0, 1, 92, 92, 6, 1, 0, 3, src_int16_1_6_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h b/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h index f22f307a32c8..473fd0736638 100644 --- a/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h +++ b/src/audio/src/coef/src_tiny_int16_20_21_1667_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_20_21_1667_5000_fir[320] = { +static const int16_t src_int16_20_21_1667_5000_fir[320] = { 3, 49, -174, @@ -331,6 +331,6 @@ const int16_t src_int16_20_21_1667_5000_fir[320] = { }; -const struct src_stage src_int16_20_21_1667_5000 = { +static const struct src_stage src_int16_20_21_1667_5000 = { 1, 1, 20, 16, 320, 21, 20, 0, 0, src_int16_20_21_1667_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h b/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h index 5ef1c3f8d60e..dc0a32fc4388 100644 --- a/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h +++ b/src/audio/src/coef/src_tiny_int16_21_20_1667_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_21_20_1667_5000_fir[336] = { +static const int16_t src_int16_21_20_1667_5000_fir[336] = { -4, 61, -87, @@ -347,6 +347,6 @@ const int16_t src_int16_21_20_1667_5000_fir[336] = { }; -const struct src_stage src_int16_21_20_1667_5000 = { +static const struct src_stage src_int16_21_20_1667_5000 = { 19, 20, 21, 16, 336, 20, 21, 0, 0, src_int16_21_20_1667_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h b/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h index 52f9cda9418d..ec618ce32b0d 100644 --- a/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_24_25_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_24_25_1814_5000_fir[480] = { +static const int16_t src_int16_24_25_1814_5000_fir[480] = { 5, -32, -12, @@ -491,6 +491,6 @@ const int16_t src_int16_24_25_1814_5000_fir[480] = { }; -const struct src_stage src_int16_24_25_1814_5000 = { +static const struct src_stage src_int16_24_25_1814_5000 = { 1, 1, 24, 20, 480, 25, 24, 0, 0, src_int16_24_25_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h b/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h index 10bda3c38557..3d2774f423f7 100644 --- a/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_25_24_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_25_24_1814_5000_fir[400] = { +static const int16_t src_int16_25_24_1814_5000_fir[400] = { -6, 60, -44, @@ -411,6 +411,6 @@ const int16_t src_int16_25_24_1814_5000_fir[400] = { }; -const struct src_stage src_int16_25_24_1814_5000 = { +static const struct src_stage src_int16_25_24_1814_5000 = { 23, 24, 25, 16, 400, 24, 25, 0, 0, src_int16_25_24_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h b/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h index 550e04725a8e..73aca616e212 100644 --- a/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_2_1_1814_5000.h @@ -6,7 +6,7 @@ #include -const int16_t src_int16_2_1_1814_5000_fir[32] = { +static const int16_t src_int16_2_1_1814_5000_fir[32] = { -7, 63, -62, @@ -42,6 +42,6 @@ const int16_t src_int16_2_1_1814_5000_fir[32] = { }; -const struct src_stage src_int16_2_1_1814_5000 = { +static const struct src_stage src_int16_2_1_1814_5000 = { 0, 1, 2, 16, 32, 1, 2, 0, 0, src_int16_2_1_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h b/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h index 66a6df9a869c..eaf5c779b880 100644 --- a/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_2_3_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_2_3_1814_5000_fir[48] = { +static const int16_t src_int16_2_3_1814_5000_fir[48] = { -9, 21, 126, @@ -59,6 +59,6 @@ const int16_t src_int16_2_3_1814_5000_fir[48] = { }; -const struct src_stage src_int16_2_3_1814_5000 = { +static const struct src_stage src_int16_2_3_1814_5000 = { 1, 1, 2, 24, 48, 3, 2, 0, 1, src_int16_2_3_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h b/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h index 7947f1a62e62..2dac6f53cff0 100644 --- a/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_3_1_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_3_1_1814_5000_fir[48] = { +static const int16_t src_int16_3_1_1814_5000_fir[48] = { -7, 58, -28, @@ -59,6 +59,6 @@ const int16_t src_int16_3_1_1814_5000_fir[48] = { }; -const struct src_stage src_int16_3_1_1814_5000 = { +static const struct src_stage src_int16_3_1_1814_5000 = { 0, 1, 3, 16, 48, 1, 3, 0, 0, src_int16_3_1_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h b/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h index e95f47b95714..e46edb8d7f31 100644 --- a/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_3_2_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_3_2_1814_5000_fir[48] = { +static const int16_t src_int16_3_2_1814_5000_fir[48] = { -6, 58, -28, @@ -59,6 +59,6 @@ const int16_t src_int16_3_2_1814_5000_fir[48] = { }; -const struct src_stage src_int16_3_2_1814_5000 = { +static const struct src_stage src_int16_3_2_1814_5000 = { 1, 2, 3, 16, 48, 2, 3, 0, 0, src_int16_3_2_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h b/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h index db2867fcc5cc..b19982f98dca 100644 --- a/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_6_1_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_6_1_1814_5000_fir[96] = { +static const int16_t src_int16_6_1_1814_5000_fir[96] = { -7, 53, -2, @@ -107,6 +107,6 @@ const int16_t src_int16_6_1_1814_5000_fir[96] = { }; -const struct src_stage src_int16_6_1_1814_5000 = { +static const struct src_stage src_int16_6_1_1814_5000 = { 0, 1, 6, 16, 96, 1, 6, 0, 0, src_int16_6_1_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h b/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h index 7b1d4907c8a9..b1ed9c100f9b 100644 --- a/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_7_8_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_7_8_1814_5000_fir[140] = { +static const int16_t src_int16_7_8_1814_5000_fir[140] = { -3, -28, 94, @@ -151,6 +151,6 @@ const int16_t src_int16_7_8_1814_5000_fir[140] = { }; -const struct src_stage src_int16_7_8_1814_5000 = { +static const struct src_stage src_int16_7_8_1814_5000 = { 1, 1, 7, 20, 140, 8, 7, 0, 0, src_int16_7_8_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h b/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h index 132cdd1c7b22..4c6dba28deda 100644 --- a/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h +++ b/src/audio/src/coef/src_tiny_int16_8_7_1814_5000.h @@ -7,7 +7,7 @@ #include -const int16_t src_int16_8_7_1814_5000_fir[128] = { +static const int16_t src_int16_8_7_1814_5000_fir[128] = { -7, 55, -1, @@ -139,6 +139,6 @@ const int16_t src_int16_8_7_1814_5000_fir[128] = { }; -const struct src_stage src_int16_8_7_1814_5000 = { +static const struct src_stage src_int16_8_7_1814_5000 = { 6, 7, 8, 16, 128, 7, 8, 0, 0, src_int16_8_7_1814_5000_fir}; diff --git a/src/audio/src/coef/src_tiny_int16_table.h b/src/audio/src/coef/src_tiny_int16_table.h index c345385b89e3..6f51ccace53e 100644 --- a/src/audio/src/coef/src_tiny_int16_table.h +++ b/src/audio/src/coef/src_tiny_int16_table.h @@ -26,12 +26,12 @@ #include /* SRC table */ -const int16_t fir_one = 16384; -const struct src_stage src_int16_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; -const struct src_stage src_int16_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; -const int src_in_fs[7] = { 8000, 16000, 32000, 44100, 48000, 50000, 96000}; -const int src_out_fs[7] = { 8000, 16000, 32000, 44100, 48000, 50000, 96000}; -const struct src_stage * const src_table1[7][7] = { +static const int16_t fir_one = 16384; +static const struct src_stage src_int16_1_1_0_0 = { 0, 0, 1, 1, 1, 1, 1, 0, -1, &fir_one }; +static const struct src_stage src_int16_0_0_0_0 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, &fir_one }; +static const int src_in_fs[7] = { 8000, 16000, 32000, 44100, 48000, 50000, 96000}; +static const int src_out_fs[7] = { 8000, 16000, 32000, 44100, 48000, 50000, 96000}; +static const struct src_stage * const src_table1[7][7] = { { &src_int16_1_1_0_0, &src_int16_0_0_0_0, &src_int16_0_0_0_0, &src_int16_0_0_0_0, &src_int16_1_6_1814_5000, &src_int16_0_0_0_0, @@ -65,7 +65,7 @@ const struct src_stage * const src_table1[7][7] = { &src_int16_1_1_0_0} }; -const struct src_stage * const src_table2[7][7] = { +static const struct src_stage * const src_table2[7][7] = { { &src_int16_1_1_0_0, &src_int16_0_0_0_0, &src_int16_0_0_0_0, &src_int16_0_0_0_0, &src_int16_1_1_0_0, &src_int16_0_0_0_0, diff --git a/src/audio/src/src.c b/src/audio/src/src.c index 8c88ac57c908..7d4315ad896b 100644 --- a/src/audio/src/src.c +++ b/src/audio/src/src.c @@ -67,8 +67,7 @@ LOG_MODULE_REGISTER(src, CONFIG_SOF_LOG_LEVEL); /* Calculates buffers to allocate for a SRC mode */ -int src_buffer_lengths(struct comp_dev *dev, struct comp_data *cd, - int nch) +static int src_buffer_lengths(struct comp_dev *dev, struct comp_data *cd, int nch) { const struct src_stage *stage1; const struct src_stage *stage2; @@ -150,9 +149,9 @@ int src_buffer_lengths(struct comp_dev *dev, struct comp_data *cd, return 0; } -int init_stages(const struct src_stage *stage1, const struct src_stage *stage2, - struct polyphase_src *src, struct src_param *p, - int n, int32_t *delay_lines_start) +static int init_stages(const struct src_stage *stage1, const struct src_stage *stage2, + struct polyphase_src *src, struct src_param *p, + int n, int32_t *delay_lines_start) { /* Clear FIR state */ src_state_reset(&src->state1); @@ -216,8 +215,8 @@ int init_stages(const struct src_stage *stage1, const struct src_stage *stage2, return 0; } -int src_polyphase_init(struct polyphase_src *src, struct src_param *p, - int32_t *delay_lines_start) +static int src_polyphase_init(struct polyphase_src *src, struct src_param *p, + int32_t *delay_lines_start) { const struct src_stage *stage1; const struct src_stage *stage2; @@ -255,8 +254,8 @@ int src_polyphase_init(struct polyphase_src *src, struct src_param *p, } /* Normal 2 stage SRC */ -int src_2s(struct comp_data *cd, - struct sof_source *source, struct sof_sink *sink) +static int src_2s(struct comp_data *cd, + struct sof_source *source, struct sof_sink *sink) { struct src_stage_prm s1; struct src_stage_prm s2; @@ -357,8 +356,8 @@ int src_2s(struct comp_data *cd, } /* 1 stage SRC for simple conversions */ -int src_1s(struct comp_data *cd, struct sof_source *source, - struct sof_sink *sink) +static int src_1s(struct comp_data *cd, struct sof_source *source, + struct sof_sink *sink) { struct src_stage_prm s1; int ret; @@ -424,7 +423,7 @@ void src_set_alignment(struct sof_source *source, struct sof_sink *sink) sink_set_alignment_constants(sink, byte_align, frame_align_req); } -int src_verify_params(struct processing_module *mod) +static int src_verify_params(struct processing_module *mod) { struct sof_ipc_stream_params *params = mod->stream_params; struct comp_data *cd = module_get_private_data(mod); @@ -461,9 +460,9 @@ int src_verify_params(struct processing_module *mod) return ret; } -bool src_get_copy_limits(struct comp_data *cd, - struct sof_source *source, - struct sof_sink *sink) +static bool src_get_copy_limits(struct comp_data *cd, + struct sof_source *source, + struct sof_sink *sink) { struct src_param *sp; const struct src_stage *s1; diff --git a/src/audio/src/src.h b/src/audio/src/src.h index 96ee8b210339..8216523a3bda 100644 --- a/src/audio/src/src.h +++ b/src/audio/src/src.h @@ -119,9 +119,6 @@ static inline void src_polyphase_reset(struct polyphase_src *src) src_state_reset(&src->state2); } -int src_polyphase_init(struct polyphase_src *src, struct src_param *p, - int32_t *delay_lines_start); - int src_polyphase(struct polyphase_src *src, int32_t x[], int32_t y[], int n_in); @@ -229,28 +226,14 @@ int src_prepare_general(struct processing_module *mod, struct sof_sink *sink); int src_init(struct processing_module *mod); -int src_buffer_lengths(struct comp_dev *dev, struct comp_data *cd, - int nch); -int init_stages(const struct src_stage *stage1, const struct src_stage *stage2, - struct polyphase_src *src, struct src_param *p, - int n, int32_t *delay_lines_start); -int src_1s(struct comp_data *cd, struct sof_source *source, - struct sof_sink *sink); int src_copy_sxx(struct comp_data *cd, struct sof_source *source, struct sof_sink *sink); -int src_verify_params(struct processing_module *mod); - -bool src_get_copy_limits(struct comp_data *cd, - struct sof_source *source, - struct sof_sink *sink); int src_params_general(struct processing_module *mod, struct sof_source *source, struct sof_sink *sink); int src_prepare(struct processing_module *mod, struct sof_source **sources, int num_of_sources, struct sof_sink **sinks, int num_of_sinks); -int src_2s(struct comp_data *cd, - struct sof_source *source, struct sof_sink *sink); bool src_is_ready_to_process(struct processing_module *mod, struct sof_source **sources, int num_of_sources, From 0b86d941982a85177e0a88f8d3390b5c58888621 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Fri, 7 Jun 2024 12:23:47 +0200 Subject: [PATCH 2/3] src: src_lite depends on src, make this explicit src_lite uses all the code as src only with a different set of coefficients. Make this obvious in Kconfig and in TOML. Signed-off-by: Guennadi Liakhovetski --- src/audio/src/Kconfig | 5 ++-- src/audio/src/src.toml | 46 ++++++++++++++++++++++++++++++++++ src/audio/src/src_lite.toml | 42 ------------------------------- tools/rimage/config/lnl.toml.h | 4 --- tools/rimage/config/mtl.toml.h | 4 --- 5 files changed, 49 insertions(+), 52 deletions(-) delete mode 100644 src/audio/src/src_lite.toml diff --git a/src/audio/src/Kconfig b/src/audio/src/Kconfig index 1c0e24af15a3..ef651703a252 100644 --- a/src/audio/src/Kconfig +++ b/src/audio/src/Kconfig @@ -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 @@ -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" diff --git a/src/audio/src/src.toml b/src/audio/src/src.toml index fb87d7926953..1568491051de 100644 --- a/src/audio/src/src.toml +++ b/src/audio/src/src.toml @@ -68,3 +68,49 @@ #endif index = __COUNTER__ + +#if CONFIG_COMP_SRC_LITE + REM # SRC lite module config + [[module.entry]] + name = "SRC_LITE" + uuid = "33441051-44CD-466A-83A3-178478708AEA" + affinity_mask = "0x1" + REM #instance_count = "10" + domain_types = "0" + load_type = "0" + module_type = "0x1F" + auto_start = "0" + sched_caps = [1, 0x00008000] + + REM # pin = [dir, type, sample rate, size, container, channel-cfg] + pin = [0, 0, 0xffff, 0xc, 0x8, 0x05ff, + 1, 0, 0xf6c9, 0xc, 0x8, 0x05ff] + + REM # mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS] + REM # identical for MTL and LNL + mod_cfg = [0, 0, 0, 0, 12832, 1365500, 0, 0, 0, 1365, 0, + 1, 0, 0, 0, 12832, 2302300, 0, 0, 0, 2302, 0, + 2, 0, 0, 0, 12832, 3218200, 0, 0, 0, 3218, 0, + 3, 0, 0, 0, 12832, 4169700, 0, 0, 0, 4169, 0, + 4, 0, 0, 0, 12832, 5095100, 0, 0, 0, 5095, 0, + 5, 0, 0, 0, 12832, 6014800, 0, 0, 0, 6014, 0, + 6, 0, 0, 0, 12832, 6963500, 0, 0, 0, 6963, 0, + 7, 0, 0, 0, 12832, 7791000, 0, 0, 0, 7791, 0, + 8, 0, 0, 0, 12832, 8843000, 0, 0, 0, 8843, 0, + 9, 0, 0, 0, 12832, 9755100, 0, 0, 0, 9755, 0, + 10, 0, 0, 0, 12832, 10726500, 0, 0, 0, 10726, 0, + 11, 0, 0, 0, 12832, 11624100, 0, 0, 0, 11624, 0, + 12, 0, 0, 0, 12832, 12518700, 0, 0, 0, 12518, 0, + 13, 0, 0, 0, 12832, 13555000, 0, 0, 0, 13555, 0, + 14, 0, 0, 0, 12832, 14144500, 0, 0, 0, 14144, 0, + 15, 0, 0, 0, 12832, 15809800, 0, 0, 0, 15809, 0, + 16, 0, 0, 0, 12832, 16749000, 0, 0, 0, 16749, 0, + 17, 0, 0, 0, 12832, 18433500, 0, 0, 0, 18433, 0, + 18, 0, 0, 0, 12832, 19425900, 0, 0, 0, 19425, 0, + 19, 0, 0, 0, 12832, 20396900, 0, 0, 0, 20396, 0, + 20, 0, 0, 0, 12832, 20881000, 0, 0, 0, 20881, 0, + 21, 0, 0, 0, 12832, 23431000, 0, 0, 0, 23431, 0, + 22, 0, 0, 0, 12832, 30471000, 0, 0, 0, 30471, 0] + + index = __COUNTER__ +#endif diff --git a/src/audio/src/src_lite.toml b/src/audio/src/src_lite.toml deleted file mode 100644 index 30b1dda5e98b..000000000000 --- a/src/audio/src/src_lite.toml +++ /dev/null @@ -1,42 +0,0 @@ - REM # SRC lite module config - [[module.entry]] - name = "SRC_LITE" - uuid = "33441051-44CD-466A-83A3-178478708AEA" - affinity_mask = "0x1" - REM #instance_count = "10" - domain_types = "0" - load_type = "0" - module_type = "0x1F" - auto_start = "0" - sched_caps = [1, 0x00008000] - - REM # pin = [dir, type, sample rate, size, container, channel-cfg] - pin = [0, 0, 0xffff, 0xc, 0x8, 0x05ff, - 1, 0, 0xf6c9, 0xc, 0x8, 0x05ff] - - REM # mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS] - mod_cfg = [0, 0, 0, 0, 12832, 1365500, 0, 0, 0, 1365, 0, - 1, 0, 0, 0, 12832, 2302300, 0, 0, 0, 2302, 0, - 2, 0, 0, 0, 12832, 3218200, 0, 0, 0, 3218, 0, - 3, 0, 0, 0, 12832, 4169700, 0, 0, 0, 4169, 0, - 4, 0, 0, 0, 12832, 5095100, 0, 0, 0, 5095, 0, - 5, 0, 0, 0, 12832, 6014800, 0, 0, 0, 6014, 0, - 6, 0, 0, 0, 12832, 6963500, 0, 0, 0, 6963, 0, - 7, 0, 0, 0, 12832, 7791000, 0, 0, 0, 7791, 0, - 8, 0, 0, 0, 12832, 8843000, 0, 0, 0, 8843, 0, - 9, 0, 0, 0, 12832, 9755100, 0, 0, 0, 9755, 0, - 10, 0, 0, 0, 12832, 10726500, 0, 0, 0, 10726, 0, - 11, 0, 0, 0, 12832, 11624100, 0, 0, 0, 11624, 0, - 12, 0, 0, 0, 12832, 12518700, 0, 0, 0, 12518, 0, - 13, 0, 0, 0, 12832, 13555000, 0, 0, 0, 13555, 0, - 14, 0, 0, 0, 12832, 14144500, 0, 0, 0, 14144, 0, - 15, 0, 0, 0, 12832, 15809800, 0, 0, 0, 15809, 0, - 16, 0, 0, 0, 12832, 16749000, 0, 0, 0, 16749, 0, - 17, 0, 0, 0, 12832, 18433500, 0, 0, 0, 18433, 0, - 18, 0, 0, 0, 12832, 19425900, 0, 0, 0, 19425, 0, - 19, 0, 0, 0, 12832, 20396900, 0, 0, 0, 20396, 0, - 20, 0, 0, 0, 12832, 20881000, 0, 0, 0, 20881, 0, - 21, 0, 0, 0, 12832, 23431000, 0, 0, 0, 23431, 0, - 22, 0, 0, 0, 12832, 30471000, 0, 0, 0, 30471, 0] - - index = __COUNTER__ diff --git a/tools/rimage/config/lnl.toml.h b/tools/rimage/config/lnl.toml.h index ce43c5595307..4436b6198d85 100644 --- a/tools/rimage/config/lnl.toml.h +++ b/tools/rimage/config/lnl.toml.h @@ -120,9 +120,5 @@ #include