Commit ad943542 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] bug causing wrong TD rend instance to be used for MC split rendering

parent 1c0df340
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6912,7 +6912,7 @@ static ivas_error renderMcToSplitBinaural(
            copyBufferTo2dArray( mcInput->base.inputBuffer, tmpRendBuffer );

            /* Render */
            if ( ( error = ivas_td_binaural_renderer_ext( &mcInput->splitTdRendWrappers[pos_idx - 1],
            if ( ( error = ivas_td_binaural_renderer_ext( ( pos_idx == 0 ) ? &mcInput->tdRendWrapper : &mcInput->splitTdRendWrappers[pos_idx - 1],
                                                          mcInput->base.inConfig,
                                                          &mcInput->customLsInput,
                                                          &pCombinedOrientationDataLocal,