Commit 2c54435f authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Add missing combined orientations in renderer path

parent 88bd93b6
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -207,8 +207,14 @@ ivas_error ivas_td_binaural_renderer_sf(
#endif

        /* Update the listener's location/orientation */
        TDREND_Update_listener_orientation( st_ivas->hBinRendererTd, st_ivas->hDecoderConfig->Opt_Headrotation,
        TDREND_Update_listener_orientation( st_ivas->hBinRendererTd,
#ifdef EXTERNAL_ORIENTATIONS
                                            ( st_ivas->hCombinedOrientationData != NULL ) ? st_ivas->hCombinedOrientationData->enableCombinedOrientation[subframe_idx] : 0,
                                            ( st_ivas->hCombinedOrientationData != NULL ) ? st_ivas->hCombinedOrientationData->Quaternions : NULL,
#else
                                            st_ivas->hDecoderConfig->Opt_Headrotation,
                                            ( st_ivas->hHeadTrackData != NULL ) ? &st_ivas->hHeadTrackData->Quaternions[0] : NULL,
#endif
                                            ( st_ivas->hHeadTrackData != NULL ) ? st_ivas->hHeadTrackData->Pos : NULL );

        if ( ( st_ivas->hRenderConfig != NULL ) && ( st_ivas->hRenderConfig->roomAcoustics.late_reverb_on ) )