Commit 40a6fe69 authored by Sumeyra Demir Kanik's avatar Sumeyra Demir Kanik
Browse files

Fix format issues

parent e4f559eb
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -168,8 +168,6 @@ void ivas_ism_render(
    {
        if ( st_ivas->intern_config == AUDIO_CONFIG_STEREO )
        {
#ifdef FIX_356_ISM_METADATA_SYNC
#endif
            ivas_ism_get_stereo_gains( st_ivas->hIsmMetaData[i]->azimuth,
                                       st_ivas->hIsmMetaData[i]->elevation,
                                       &gains[i][0],
@@ -180,15 +178,11 @@ void ivas_ism_render(
            /* Head rotation: rotate the object positions depending the head's orientation */
            if ( st_ivas->hHeadTrackData != NULL && st_ivas->hHeadTrackData->num_quaternions >= 0 && !st_ivas->hIsmMetaData[i]->non_diegetic_flag )
            {
#ifdef FIX_356_ISM_METADATA_SYNC
#endif
                rotateAziEle( st_ivas->hIsmMetaData[i]->azimuth, st_ivas->hIsmMetaData[i]->elevation, &azimuth, &elevation, Rmat, st_ivas->hIntSetup.is_planar_setup );
            }
            else
            {
                // TODO tmu review when #215 is resolved
#ifdef FIX_356_ISM_METADATA_SYNC
#endif
                azimuth = (int16_t) floorf( st_ivas->hIsmMetaData[i]->azimuth + 0.5f );
                elevation = (int16_t) floorf( st_ivas->hIsmMetaData[i]->elevation + 0.5f );

+0 −2
Original line number Diff line number Diff line
@@ -334,8 +334,6 @@ void ivas_ism2sba(

    for ( i = 0; i < nchan_ism; i++ )
    {
#ifdef FIX_356_ISM_METADATA_SYNC
#endif
        // TODO tmu review when #215 is resolved
        azimuth = (int16_t) floorf( hIsmMetaData[i]->azimuth + 0.5f );
        elevation = (int16_t) floorf( hIsmMetaData[i]->elevation + 0.5f );
+2 −2
Original line number Diff line number Diff line
@@ -691,7 +691,7 @@ ivas_error ivas_td_binaural_renderer_ext(
    AUDIO_CONFIG transport_config;
    ivas_error error;
#ifdef FIX_356_ISM_METADATA_SYNC
    int16_t ism_md_subframe_update = 0;
    int16_t ism_md_subframe_update_ext = 0;
#endif
#ifdef JBM_TSM_ON_TCS
    float *p_output[MAX_OUTPUT_CHANNELS];
@@ -744,7 +744,7 @@ ivas_error ivas_td_binaural_renderer_ext(
#ifdef FIX_356_ISM_METADATA_SYNC
    if ( ( error = ivas_td_binaural_renderer_unwrap( hReverb, transport_config, pTDRend->hBinRendererTd, num_src, lfe_idx, ivas_format, hIsmMetaData, headRotData->headRotEnabled,
                                                     ( headRotData != NULL ) ? headRotData->headPositions : NULL,
                                                     ( headRotData != NULL ) ? headRotData->Pos : NULL, ism_md_subframe_update, p_output, output_frame ) ) != IVAS_ERR_OK )
                                                     ( headRotData != NULL ) ? headRotData->Pos : NULL, ism_md_subframe_update_ext, p_output, output_frame ) ) != IVAS_ERR_OK )
#else
    if ( ( error = ivas_td_binaural_renderer_unwrap( hReverb, transport_config, pTDRend->hBinRendererTd, num_src, lfe_idx, ivas_format, hIsmMetaData, headRotData->headRotEnabled,
                                                     ( headRotData != NULL ) ? headRotData->headPositions : NULL,