Commit 3d6fa324 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] condition check for useTDRend; both _ROOM_IR and _ROOM_REVERB need to use CREND

parent f908077e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2190,7 +2190,7 @@ 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 )
    if ( outConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR && outConfig != IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
    {
        if ( inConfig == IVAS_AUDIO_CONFIG_LS_CUSTOM )
        {