Commit 818a2339 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Reverted change in switching modes in ivas_dirac_dec_binaural_process_output function

parent a9704292
Loading
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1378,11 +1378,7 @@ static void ivas_dirac_dec_binaural_process_output(
    offsetSamples = 0;
    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 )
#else
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM )
#endif
    {
        /* Process second / room effect part of binaural output when needed */
        ivas_binaural_reverb_processSubframe( st_ivas->hDiracDecBin->hReverb, numInChannels, nSlots, inRe, inIm, reverbRe, reverbIm );
@@ -1449,11 +1445,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 )
#else
            if ( st_ivas->renderer_type == RENDERER_BINAURAL_PARAMETRIC_ROOM )
#endif
            {
                /* Combine second (reverb) part with the first (HRTF) part to obtain binaural output signal with room effect */
                v_add( outSlotRe, reverbRe[chA][slot], outSlotRe, CLDFB_NO_CHANNELS_MAX );