diff --git a/apps/renderer.c b/apps/renderer.c index 917a6f3a907f7e7be7fc0f7f63967f723babd166..cf5a7e33d251ca9cab6c8539c1db775994ce08f0 100644 --- a/apps/renderer.c +++ b/apps/renderer.c @@ -1229,7 +1229,15 @@ int main( masaIds[i] = 0u; } +#ifdef FIX_1377_HANDLE_ERROR_CODE + if ( ( error = IVAS_REND_SetObjectIDs( hIvasRend ) ) != IVAS_ERR_OK ) + { + fprintf( stderr, "\nIVAS_REND_SetObjectIDs: %s\n", ivas_error_to_string( error ) ); + goto cleanup; + } +#else IVAS_REND_SetObjectIDs( hIvasRend ); +#endif for ( i = 0; i < args.inConfig.numMultiChannelBuses; ++i ) { diff --git a/lib_com/options.h b/lib_com/options.h index 77f6098c215953cc6703b9e6f4ea927f64e19cc7..693f3610f9c6923265d8d2bf4fc9d7f84da3916f 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -163,7 +163,7 @@ /*#define FIX_I4_OL_PITCH*/ /* fix open-loop pitch used for EVS core switching */ #define TMP_FIX_1119_SPLIT_RENDERING_VOIP /* FhG: Add error check for unsupported config: split rendering with VoIP mode */ - +#define FIX_1377_HANDLE_ERROR_CODE /* Eri: Add missing error code handling from IVAS_REND_SetObjectIDs */ /* #################### End BE switches ################################## */