From 73309f08d479c38bc7a540bd7d9163e9675bc1ae Mon Sep 17 00:00:00 2001 From: vaclav Date: Wed, 7 May 2025 11:22:41 +0200 Subject: [PATCH 1/2] remove sum_l() leftover --- lib_com/prot.h | 3 ++- lib_com/tools.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib_com/prot.h b/lib_com/prot.h index 745028ee1..5cd4cb3d3 100644 --- a/lib_com/prot.h +++ b/lib_com/prot.h @@ -155,13 +155,14 @@ int16_t sum_s( const int16_t *vec, /* i : input vector */ const int16_t lvec /* i : length of input vector */ ); - +#ifdef DEBUGGING /*! r: sum of all vector elements */ int32_t sum_l( const int32_t *vec, /* i : input vector */ const int16_t lvec /* i : length of input vector */ ); +#endif /*! r: sum of all vector elements */ float sum_f( const float *vec, /* i : input vector */ diff --git a/lib_com/tools.c b/lib_com/tools.c index 8631bbc15..3fa217c4b 100644 --- a/lib_com/tools.c +++ b/lib_com/tools.c @@ -138,6 +138,7 @@ int16_t sum_s( return tmp; } +#ifdef DEBUGGING /*! r: sum of all vector elements */ int32_t sum_l( const int32_t *vec, /* i : input vector */ @@ -156,6 +157,7 @@ int32_t sum_l( return tmpL; } +#endif /*! r: sum of all vector elements */ float sum_f( const float *vec, /* i : input vector */ -- GitLab From 439fccd1b937224a1efa0b6050996ff1a03c546d Mon Sep 17 00:00:00 2001 From: vaclav Date: Fri, 13 Jun 2025 20:55:00 +0200 Subject: [PATCH 2/2] formatting --- lib_com/options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_com/options.h b/lib_com/options.h index 82fbd6710..94f061010 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -208,7 +208,7 @@ #define FIX_1009_ISM_NONDIEGETIC_PANNING /* FhG: issue #1009: use correct object buffer for ISM1 non-diegetic pan */ #define NONBE_FIX_1012_1013_JBM_FLUSH_BUFFER /* FhG: issues #1012, 1013: JBM flush function uses wrong output buffer */ #define FIX_998_UNUSED_FUNCTION /* FhG: issue 998: delete unused funtion ivas_dirac_dec_get_response_split_order */ -#define NONBE_FIX_1014_1015_1016_OSBA_JBM_STEREO /* FhG: issues #1014, #1015, #1016: fix tc buffer info update in the discrete ism renderer */ +#define NONBE_FIX_1014_1015_1016_OSBA_JBM_STEREO /* FhG: issues #1014, #1015, #1016: fix tc buffer info update in the discrete ism renderer */ #define NONBE_FIX_987_PARAMC_BINAURAL_REVERB_RENDERING /* FhG: issue 987: solution b: downmix HOA3 to stereo a input for the reverberator */ /* #################### End BASOP porting switches ############################ */ -- GitLab