Commit 73cf0e4d authored by sbsarac's avatar sbsarac
Browse files

Address missing distAtt initialization in decoder

parent 55d3063a
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2132,6 +2132,10 @@ static ivas_error copyRendererConfigStruct(
    mvr2r( hRCin->roomAcoustics.pAcoustic_rt60, hRCout->roomAcoustics.pAcoustic_rt60, CLDFB_NO_CHANNELS_MAX );
    mvr2r( hRCin->roomAcoustics.pAcoustic_dsr, hRCout->roomAcoustics.pAcoustic_dsr, CLDFB_NO_CHANNELS_MAX );
    mvr2r( hRCin->directivity, hRCout->directivity, 3 * MAX_NUM_OBJECTS );
#ifdef FIX_1053_REVERB_RECONFIGURATION
    mvr2r( hRCin->distAtt, hRCout->distAtt, 3 );
#endif

#ifdef SPLIT_REND_WITH_HEAD_ROT
    /* TODO: This seems wrong. Why set default instead of copying from hRCin?
     * Currently seems to work because we only ever copy from a default-initialized handle anyway */