Commit ca285dd8 authored by vaclav's avatar vaclav
Browse files

port NONBE_FIX_1028_1DB_TCX_LEVEL_DROP

parent 204bcb4c
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -211,6 +211,7 @@
#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 */
#define NONBE_FIX_1065_ISM_MD_HANDLE                    /* VA: issue 1065: Allocate only the necessary number of ISM MD decoder handles. */
#define NONBE_FIX_1028_1DB_TCX_LEVEL_DROP               /* VA: Harmonize the logic setting LP weighting factor between TCX encoder and TCX decoder */

/* #################### End BASOP porting switches ############################ */

+4 −0
Original line number Diff line number Diff line
@@ -150,7 +150,11 @@ void open_decoder_LPD(
    {
        st->gamma = GAMMA16k;
    }
#ifdef NONBE_FIX_1028_1DB_TCX_LEVEL_DROP
    else if ( st->element_mode > EVS_MONO && st->sr_core > INT_FS_16k )
#else
    else if ( st->sr_core > INT_FS_16k && st->element_mode == IVAS_CPE_MDCT )
#endif
    {
        st->gamma = GAMMA16k;
    }