Commit 95cac43b authored by malenov's avatar malenov
Browse files

small additional correction of WMC_TOOL_SKIP in wi.c

parent 73266a45
Loading
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
@@ -85,8 +85,22 @@ ivas_error DTFS_new(
    MOVE( 2 );
    LOOP( 1 );
    MOVE( 2 );
    dtfs->lag = 0;
    dtfs->nH = 0;
    dtfs->nH_4kHz = 0;
    dtfs->upper_cut_off_freq_of_interest = 3300.0;
    dtfs->upper_cut_off_freq = 4000.0;

    for ( i = 0; i < MAXLAG_WI; i++ )
    {
        dtfs->a[i] = dtfs->b[i] = 0.0;
    }

    dtfs->sampling_rate = -1;

    *dtfs_out = dtfs;
#undef WMC_TOOL_SKIP
#endif
#else
    dtfs->lag = 0;
    dtfs->nH = 0;
    dtfs->nH_4kHz = 0;
@@ -101,6 +115,8 @@ ivas_error DTFS_new(
    dtfs->sampling_rate = -1;

    *dtfs_out = dtfs;
#endif

    return IVAS_ERR_OK;
}