engine/analyzer/util/sample.h
// Sets every sample in pBuffer to zero
Sets every sample in pBuffer to zero
Sets every sample in pBuffer to zero
inline
    static void clear(CSAMPLE* pBuffer, SINT numSamples) {
        memset(pBuffer, 0, sizeof(*pBuffer) * numSamples);
    }
inline static void clear ( CSAMPLE * pBuffer , SINT numSamples ) { memset ( pBuffer , 0 , sizeof ( * pBuffer ) * numSamples ) ; }
Sets every sample in pBuffer to zero
Sets every sample in pBuffer to zero
// Special case: This works, because the binary representation // of 0.0f is 0! //fill(pBuffer, CSAMPLE_ZERO, iNumSamples);