Commit 0588ae3f authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

in ivas_mcmasa_param_est_enc, reduce the size of the FOA input buffers to the...

in ivas_mcmasa_param_est_enc, reduce the size of the FOA input buffers to the number of FOA channels
parent 5e8c2dd3
Loading
Loading
Loading
Loading
+16 −9
Original line number Diff line number Diff line
@@ -755,10 +755,17 @@ void ivas_mcmasa_param_est_enc(
    float Chnl_ImagBuffer[MCMASA_MAX_ANA_CHANS][DIRAC_NO_FB_BANDS_MAX];
    float *p_Chnl_RealBuffer[MCMASA_MAX_ANA_CHANS];
    float *p_Chnl_ImagBuffer[MCMASA_MAX_ANA_CHANS];
#ifdef HODIRAC
    float Foa_RealBuffer[FOA_CHANNELS][DIRAC_NO_FB_BANDS_MAX];
    float Foa_ImagBuffer[FOA_CHANNELS][DIRAC_NO_FB_BANDS_MAX];
    float FoaEven_RealBuffer[FOA_CHANNELS][DIRAC_NO_FB_BANDS_MAX];
    float FoaEven_ImagBuffer[FOA_CHANNELS][DIRAC_NO_FB_BANDS_MAX];
#else
	float Foa_RealBuffer[DIRAC_MAX_ANA_CHANS][DIRAC_NO_FB_BANDS_MAX];
    float Foa_ImagBuffer[DIRAC_MAX_ANA_CHANS][DIRAC_NO_FB_BANDS_MAX];
    float FoaEven_RealBuffer[DIRAC_MAX_ANA_CHANS][DIRAC_NO_FB_BANDS_MAX];
    float FoaEven_ImagBuffer[DIRAC_MAX_ANA_CHANS][DIRAC_NO_FB_BANDS_MAX];
#endif
    float intensity_real[DIRAC_NUM_DIMS][MASA_FREQUENCY_BANDS];
    float intensity_even_real[DIRAC_NUM_DIMS][MASA_FREQUENCY_BANDS];
    float direction_vector[DIRAC_NUM_DIMS][MASA_FREQUENCY_BANDS];