Commit 572556c7 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] update condition for useTDRend again

parent 3b3d5416
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2190,9 +2190,9 @@ static ivas_error initMcBinauralRendering(
    /* Allocate TD binaural renderer for custom loudspeaker layouts (regardless of headrotation)
      or planar MC layouts with headrotation, CREND for the rest */
    useTDRend = FALSE;
    if ( outConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR && outConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
    if ( outConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR )
    {
        if ( inConfig == IVAS_AUDIO_CONFIG_LS_CUSTOM )
        if ( inConfig == IVAS_AUDIO_CONFIG_LS_CUSTOM && outConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
        {
            useTDRend = TRUE;
        }