Searched refs:kAmplitudeThreshold (Results 1 – 1 of 1) sorted by relevance
47 const float kAmplitudeThreshold = 0.03f; // 3% of max amplitude. in CountZeroCrossings() local52 for (; i < length && fabsf(last) < kAmplitudeThreshold; ++i) in CountZeroCrossings()55 if (fabsf(samples[i]) >= kAmplitudeThreshold && in CountZeroCrossings()