Loading lib_dec/ivas_objectRenderer_internal_fx.c +5 −4 Original line number Diff line number Diff line Loading @@ -211,11 +211,12 @@ ivas_error ivas_td_binaural_renderer_sf_fx( IF( EQ_16( subframe_idx, ism_md_subframe_update_jbm ) ) { #ifdef OBJ_EDITING_API if ( st_ivas->ivas_format == ISM_FORMAT || st_ivas->ivas_format == SBA_ISM_FORMAT ) test(); IF ( EQ_16(st_ivas->ivas_format, ISM_FORMAT) || EQ_16(st_ivas->ivas_format, SBA_ISM_FORMAT ) ) { ISM_METADATA_FRAME ismMetaData[MAX_NUM_OBJECTS]; ISM_METADATA_HANDLE hIsmMetaData[MAX_NUM_OBJECTS]; for ( nS = 0; nS < nchan_ism; nS++ ) FOR ( nS = 0; nS < nchan_ism; nS++ ) { ismMetaData[nS].azimuth_fx = st_ivas->hIsmMetaData[nS]->edited_azimuth_fx; ismMetaData[nS].elevation_fx = st_ivas->hIsmMetaData[nS]->edited_elevation_fx; Loading @@ -227,14 +228,14 @@ ivas_error ivas_td_binaural_renderer_sf_fx( hIsmMetaData[nS] = &ismMetaData[nS]; } if ( ( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, hIsmMetaData ) ) != IVAS_ERR_OK ) IF ( NE_16 ( ( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, hIsmMetaData ) ), IVAS_ERR_OK ) ) { return error; } } else #endif IF( ( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, st_ivas->hIsmMetaData ) ) != IVAS_ERR_OK ) IF( NE_16( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, st_ivas->hIsmMetaData ) ), IVAS_ERR_OK ) ) { return error; } Loading Loading
lib_dec/ivas_objectRenderer_internal_fx.c +5 −4 Original line number Diff line number Diff line Loading @@ -211,11 +211,12 @@ ivas_error ivas_td_binaural_renderer_sf_fx( IF( EQ_16( subframe_idx, ism_md_subframe_update_jbm ) ) { #ifdef OBJ_EDITING_API if ( st_ivas->ivas_format == ISM_FORMAT || st_ivas->ivas_format == SBA_ISM_FORMAT ) test(); IF ( EQ_16(st_ivas->ivas_format, ISM_FORMAT) || EQ_16(st_ivas->ivas_format, SBA_ISM_FORMAT ) ) { ISM_METADATA_FRAME ismMetaData[MAX_NUM_OBJECTS]; ISM_METADATA_HANDLE hIsmMetaData[MAX_NUM_OBJECTS]; for ( nS = 0; nS < nchan_ism; nS++ ) FOR ( nS = 0; nS < nchan_ism; nS++ ) { ismMetaData[nS].azimuth_fx = st_ivas->hIsmMetaData[nS]->edited_azimuth_fx; ismMetaData[nS].elevation_fx = st_ivas->hIsmMetaData[nS]->edited_elevation_fx; Loading @@ -227,14 +228,14 @@ ivas_error ivas_td_binaural_renderer_sf_fx( hIsmMetaData[nS] = &ismMetaData[nS]; } if ( ( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, hIsmMetaData ) ) != IVAS_ERR_OK ) IF ( NE_16 ( ( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, hIsmMetaData ) ), IVAS_ERR_OK ) ) { return error; } } else #endif IF( ( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, st_ivas->hIsmMetaData ) ) != IVAS_ERR_OK ) IF( NE_16( error = TDREND_Update_object_positions_fx( st_ivas->hBinRendererTd, nchan_ism, st_ivas->ivas_format, st_ivas->hIsmMetaData ) ), IVAS_ERR_OK ) ) { return error; } Loading