Commit cab49d5e authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Fix for erroneous renderer modes switching in case of BINAURAL_ROOM_REVERB output configuration

parent 9f73d76f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1379,7 +1379,7 @@ static void ivas_dirac_dec_binaural_process_output(
    nSlots = st_ivas->hDirAC->subframe_nbslots[subframe];

#ifdef FIX_571_REVERB_NOT_ACTIVATED_ISM
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->hDecoderConfig->output_config == AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM || ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->hDecoderConfig->output_config == AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) )
#else
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM )
#endif
@@ -1450,7 +1450,7 @@ static void ivas_dirac_dec_binaural_process_output(
            }

#ifdef FIX_571_REVERB_NOT_ACTIVATED_ISM
            if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->hDecoderConfig->output_config == AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
            if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM || ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC && st_ivas->hDecoderConfig->output_config == AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) )
#else
            if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM )
#endif