Commit e12471a2 authored by vaclav's avatar vaclav
Browse files

port NONBE_FIX_1028_1DB_TCX_LEVEL_DROP

parent 6c110134
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -210,6 +210,7 @@
#define FIX_998_UNUSED_FUNCTION                         /* FhG: issue 998: delete unused funtion ivas_dirac_dec_get_response_split_order */ 
#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_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;
    }