Loading apps/renderer.c +5 −5 Original line number Diff line number Diff line Loading @@ -913,16 +913,16 @@ int main( #endif if ( IVAS_REND_SetHeadRotation( hIvasRend, quatBuffer ) != IVAS_ERR_OK ) { fprintf(stderr, "Error setting Head Rotation.\r\n"); //exit(-1); fprintf( stderr, "Error setting Head Rotation\n" ); exit(-1); } } else { if ( IVAS_REND_SetHeadRotation( hIvasRend, NULL ) != IVAS_ERR_OK ) if ( ( IVAS_REND_SetHeadRotation( hIvasRend, NULL ) != IVAS_ERR_OK ) && ( IVAS_REND_SetHeadRotation( hIvasRend, NULL ) != IVAS_ERR_INVALID_OUTPUT_FORMAT) ) { fprintf(stderr, "Error setting Head Rotation.\r\n"); //exit(-1); fprintf( stderr, "Error setting Head Rotation\n" ); exit(-1); } } Loading lib_rend/lib_rend.c +1 −1 Original line number Diff line number Diff line Loading @@ -3912,7 +3912,7 @@ ivas_error IVAS_REND_SetHeadRotation( if ( getAudioConfigType( hIvasRend->outputConfig ) != IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL ) { /* Head rotation can be set only with binaural output */ return IVAS_ERR_METADATA_NOT_EXPECTED; return IVAS_ERR_INVALID_OUTPUT_FORMAT; } if ( headRot == NULL ) Loading Loading
apps/renderer.c +5 −5 Original line number Diff line number Diff line Loading @@ -913,16 +913,16 @@ int main( #endif if ( IVAS_REND_SetHeadRotation( hIvasRend, quatBuffer ) != IVAS_ERR_OK ) { fprintf(stderr, "Error setting Head Rotation.\r\n"); //exit(-1); fprintf( stderr, "Error setting Head Rotation\n" ); exit(-1); } } else { if ( IVAS_REND_SetHeadRotation( hIvasRend, NULL ) != IVAS_ERR_OK ) if ( ( IVAS_REND_SetHeadRotation( hIvasRend, NULL ) != IVAS_ERR_OK ) && ( IVAS_REND_SetHeadRotation( hIvasRend, NULL ) != IVAS_ERR_INVALID_OUTPUT_FORMAT) ) { fprintf(stderr, "Error setting Head Rotation.\r\n"); //exit(-1); fprintf( stderr, "Error setting Head Rotation\n" ); exit(-1); } } Loading
lib_rend/lib_rend.c +1 −1 Original line number Diff line number Diff line Loading @@ -3912,7 +3912,7 @@ ivas_error IVAS_REND_SetHeadRotation( if ( getAudioConfigType( hIvasRend->outputConfig ) != IVAS_REND_AUDIO_CONFIG_TYPE_BINAURAL ) { /* Head rotation can be set only with binaural output */ return IVAS_ERR_METADATA_NOT_EXPECTED; return IVAS_ERR_INVALID_OUTPUT_FORMAT; } if ( headRot == NULL ) Loading