From 2725e128e3d90c528e3e037fdb5ba426216912b9 Mon Sep 17 00:00:00 2001 From: Markus Multrus Date: Mon, 10 Jul 2023 09:41:36 +0200 Subject: [PATCH] fix compilation with BASOP_NOGLOB disabled --- lib_com/env_stab.c | 4 ++++ lib_com/options.h | 1 + 2 files changed, 5 insertions(+) diff --git a/lib_com/env_stab.c b/lib_com/env_stab.c index b4da4ce9d7..e1acf8e952 100644 --- a/lib_com/env_stab.c +++ b/lib_com/env_stab.c @@ -92,8 +92,12 @@ float env_stability( #ifdef BASOP_NOGLOB Overflow = 0; env_delta = shl_o( *mem_env_delta, 1, &Overflow ); +#else +#ifdef FIX_595_SHL_NOGLOB + env_delta = shl( *mem_env_delta, 1 ); #else env_delta = shl_o( *mem_env_delta, 1 ); +#endif #endif } else diff --git a/lib_com/options.h b/lib_com/options.h index e4d3a06b58..db31a750ae 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -160,6 +160,7 @@ #define FIX_575_LOW_OVERLAP_PLC_RECOVERY /* FhG: Issue 575 fix for PLC and transistion to TCX5*/ #define ISM_FB_16k4 /* VA: Issue: 579: change BW from SWB to FB in NxISM conditions to match the EVS codec */ #define FIX_580_PARAMMC_ENER_BURSTS /* FhG: issue 580: energy bursts due to ILD holding when energy relations change too much */ +#define FIX_595_SHL_NOGLOB /* FhG: Issue 595: compilation with BASOP_NOGLOB disabled */ /* ################## End DEVELOPMENT switches ######################### */ -- GitLab