Commit 1ba9e4ad authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Copy head rotations only in binarual rendering in ext masa path

parent 8678a966
Loading
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -6431,11 +6431,14 @@ static ivas_error renderActiveInputsMasa(
        }

#ifdef FIX_541_EXT_REND_MASA_ROTATIONS
        if ( getAudioConfigType( hIvasRend->outputConfig ) == IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL && pCurrentInput->decDummy->hHeadTrackData != NULL )
        {
            for ( sf_idx = 0; sf_idx < RENDERER_HEAD_POSITIONS_PER_FRAME; ++sf_idx )
            {
                pCurrentInput->decDummy->hHeadTrackData->Quaternions[sf_idx] = hIvasRend->headRotData.headPositions[sf_idx];
                pCurrentInput->decDummy->hHeadTrackData->Pos[sf_idx] = hIvasRend->headRotData.Pos[sf_idx];
            }
        }
#endif

        if ( ( error = renderInputMasa( pCurrentInput, hIvasRend->outputConfig, outAudio ) ) != IVAS_ERR_OK )