Commit d379f848 authored by sagnowski's avatar sagnowski
Browse files

Fix more distorted output from DirAC

parent c80134e3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1838,6 +1838,9 @@ void ivas_dirac_dec(
    float Cldfb_RealBuffer_Binaural[BINAURAL_CHANNELS][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX];
    float Cldfb_ImagBuffer_Binaural[BINAURAL_CHANNELS][MAX_PARAM_SPATIAL_SUBFRAMES][CLDFB_NO_CHANNELS_MAX];
    int16_t index, num_freq_bands;
#ifdef FLOAT_INTERFACE_DEC_REND
    float tmp[L_FRAME16k];
#endif

    DIRAC_DEC_STACK_MEM DirAC_mem;
    float *reference_power, *reference_power_smooth;
@@ -2032,7 +2035,11 @@ void ivas_dirac_dec(

                generate_masking_noise_dirac( st->hFdCngDec->hFdCngCom,
                                              st_ivas->cldfbAnaDec[1],
#ifdef FLOAT_INTERFACE_DEC_REND
                                              tmp,
#else
                                              &( output_f[1][L_FRAME48k - L_FRAME16k] ),
#endif
                                              Cldfb_RealBuffer[1][0],
                                              Cldfb_ImagBuffer[1][0],
                                              index_slot,