Commit b603bd87 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Cleanup

parent 64a528f3
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -443,7 +443,6 @@ int main(
    if ( ( error = IVAS_DEC_Configure( hIvasDec, arg.output_Fs, arg.outputConfig, arg.tsmEnabled, arg.renderFramesize, arg.customLsOutputEnabled, arg.hrtfReaderEnabled, arg.enableHeadRotation, arg.enableExternalOrientation, arg.orientation_tracking, arg.renderConfigEnabled, arg.Opt_non_diegetic_pan, arg.non_diegetic_pan_gain,
                                       arg.Opt_dpid_on, arg.acousticEnvironmentId, arg.delayCompensationEnabled ) ) != IVAS_ERR_OK )
#endif

    {
        fprintf( stderr, "\nConfigure failed: %s\n\n", IVAS_DEC_GetErrorMessage( error ) );
        goto cleanup;
+1 −2
Original line number Diff line number Diff line
@@ -151,7 +151,6 @@ typedef struct
} AcousticEnvironmentSequence;
#endif


typedef struct
{
    char executableName[RENDERER_MAX_CLI_ARG_LENGTH];
@@ -1115,7 +1114,7 @@ int main(
            else
            {
#ifdef FIX_1053_REVERB_RECONFIGURATION
                fprintf( stderr, "Failed to get acoustic environment with ID: %d\n\n", aeID );
                fprintf( stderr, "\nFailed to get acoustic environment with ID: %d\n\n", aeID );
#else
                fprintf( stderr, "\nFailed to get acoustic environment with ID: %d\n\n", args.acousticEnvironmentId );
#endif
+0 −4
Original line number Diff line number Diff line
@@ -2105,11 +2105,7 @@ ivas_error IVAS_DEC_FeedRenderConfig(
)
{
    RENDER_CONFIG_HANDLE hRenderConfig;
#ifdef FIX_1053_REVERB_RECONFIGURATION
    ivas_error error;
#else
    ivas_error error;
#endif

    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hRenderConfig == NULL )
    {
+0 −1
Original line number Diff line number Diff line
@@ -1383,7 +1383,6 @@ ivas_error ivas_reverb_open(
        }
    }
#else

    /* init predelay */
    ivas_rev_delay_line_init( &( pState->predelay_line ), pState->pPredelay_buffer, params.pre_delay, predelay_bf_len );

+1 −2
Original line number Diff line number Diff line
@@ -4393,8 +4393,7 @@ int16_t IVAS_REND_FeedRenderConfig(
                return error;
            }
        }

        if ( pMcInput->crendWrapper != NULL && pMcInput->crendWrapper->hCrend[0] && pMcInput->crendWrapper->hCrend[0]->hReverb != NULL )
        if ( pMcInput->crendWrapper != NULL && pMcInput->crendWrapper->hCrend[0] != NULL && pMcInput->crendWrapper->hCrend[0]->hReverb != NULL )
        {
            if ( ( error = ivas_reverb_open( &pMcInput->crendWrapper->hCrend[0]->hReverb, hIvasRend->hHrtfs.hHrtfStatistics, hRenderConfig, *pMcInput->base.ctx.pOutSampleRate ) ) != IVAS_ERR_OK )
            {
+1 −1

File changed.

Contains only whitespace changes.

Loading