diff --git a/lib_com/options.h b/lib_com/options.h index 53cac6f8428aa810f37f3d0e6386686d12f7e758..2a87c540b8ba45b698d3c2baf853780645b4ec4e 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -115,6 +115,8 @@ #define NONBE_FIX_951_MCMASA_5MS_RENDERING /* Nokia: issue #951: Differences for 5ms and 20ms rendering for McMASA at 13.2 kbps to BINAURAL */ #define NONBE_FIX_979_OSBA_STEREO_5MS /* FhG : issue #979 : 5ms and 20ms output different for OSBA and stereo */ #define FIX_983_DISC_ISM_DIGEST_NUM_OBJS /* FhG: issue #983: the discrete ISM digest function uses the wrong number of objects */ +#define NONBE_FIX_974_OSBA_JBM_MONO_RS_USAN /* FhG : issue #974: usan in mono and stereo output in OSBA JBM RS */ + /* #################### End BASOP porting switches ############################ */ diff --git a/lib_dec/ivas_sba_dec_fx.c b/lib_dec/ivas_sba_dec_fx.c index 24abcb667b7f753b7961128ca358df90866bea26..86cd641c04e2e4ace555d6c9cc95b2a8ec8cd23e 100644 --- a/lib_dec/ivas_sba_dec_fx.c +++ b/lib_dec/ivas_sba_dec_fx.c @@ -282,7 +282,11 @@ ivas_error ivas_sba_dec_reconfigure_fx( } /* save old */ +#ifdef NONBE_FIX_974_OSBA_JBM_MONO_RS_USAN + IF( NE_16( ism_mode_old, ISM_SBA_MODE_DISC ) && NE_16( st_ivas->hTcBuffer->tc_buffer_mode, TC_BUFFER_MODE_BUFFER ) ) +#else IF( NE_16( ism_mode_old, ISM_SBA_MODE_DISC ) ) +#endif { test(); IF( st_ivas->hDirAC == NULL && st_ivas->hSpar != NULL )