diff --git a/lib_com/options.h b/lib_com/options.h index e99cb812afd82e2a71aaa63706679397c1484a73..865e54b2f78761e39ad06e06d7335e3ca30d8684 100755 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -163,6 +163,7 @@ /* any switch which is non-be wrt selection floating point code */ /* all switches in this category should start with "NONBE_" */ +#define NONBE_FIX_974_OSBA_JBM_MONO_RS_USAN /* FhG : issue #974: usan in mono and stereo output in OSBA JBM RS */ #define NONBE_FIX_922_PRECOMPUTED_HRTF_PROPERTIES /* Philips: Use pre-computed HRTF average L/R energies and IAC in all renderers */ #define NONBE_FIX_973_HODIRAC_BAND_GROUPING /* FhG: issue 973: empty parameter band in DirAC */ #define NONBE_FIX_951_MCMASA_5MS_RENDERING /* Nokia: issue #951: Differences for 5ms and 20ms rendering for McMASA at 13.2 kbps to BINAURAL */ diff --git a/lib_dec/ivas_sba_dec.c b/lib_dec/ivas_sba_dec.c index 8a0215b3aef49c4e8782e3b4b5ac5c3d620ff6db..04a589534db4d9c91e9c00d5f295588ebb2e5248 100644 --- a/lib_dec/ivas_sba_dec.c +++ b/lib_dec/ivas_sba_dec.c @@ -254,7 +254,11 @@ ivas_error ivas_sba_dec_reconfigure( } /* save old */ +#ifdef NONBE_FIX_974_OSBA_JBM_MONO_RS_USAN + if ( ism_mode_old != ISM_SBA_MODE_DISC && st_ivas->hTcBuffer->tc_buffer_mode != TC_BUFFER_MODE_BUFFER ) +#else if ( ism_mode_old != ISM_SBA_MODE_DISC ) +#endif { if ( st_ivas->hDirAC == NULL && st_ivas->hSpar != NULL ) {