Commit be9605c5 authored by janssonfr's avatar janssonfr
Browse files

Add fix for issue 395

parent dd187ac5
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -166,6 +166,8 @@

#define FIX_ISM_DTX_CLICKS                              /* FhG: fix for clicks in ISM DTX for inactive to active TCX transitions */

#define FIX_395_CNG_BW                                  /* Eri: Issue 395 - CNG bandwidth issue for unified stereo */

/* ################## End DEVELOPMENT switches ######################### */
/* clang-format on */
#endif
+4 −1
Original line number Diff line number Diff line
@@ -569,8 +569,11 @@ ivas_error ivas_cpe_enc(
#ifdef DEBUG_MODE_DFT
                hCPE->hStereoDft->res_cod_bits = 0;
#endif

#ifdef FIX_395_CNG_BW
                stereo_dft_enc_update( hCPE->hStereoDft, min( SWB, sts[0]->bwidth ) );
#else
                stereo_dft_enc_update( hCPE->hStereoDft, min( SWB, sts[0]->max_bwidth ) );
#endif
            }
            else
            {