Commit 5523af57 authored by malenov's avatar malenov
Browse files

avoid instrumenting pTransientDetector->CheckSubblocksForAttack_fx() by the...

avoid instrumenting pTransientDetector->CheckSubblocksForAttack_fx() by the WMC tool (same as in float codebase)
parent 548b949b
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -569,10 +569,12 @@ static void RunTransientDetector( TransientDetector *pTransientDetector )

    assert( ( pTransientDetector->CheckSubblocksForAttack_fx != NULL ) );

#define WMC_TOOL_SKIP
    pTransientDetector->CheckSubblocksForAttack_fx( pSubblockNrg, pAccSubblockNrg,
                                                    NSUBBLOCKS + nDelay, nRelativeDelay,
                                                    attackRatioThreshold,
                                                    &pTransientDetector->bIsAttackPresent, &pTransientDetector->attackIndex );
#undef WMC_TOOL_SKIP
}

static void UpdateDelayBuffer( Word16 const *input, Word16 nSamplesAvailable, DelayBuffer *pDelayBuffer )