Searched refs:decay (Results 1 – 2 of 2) sorted by relevance
58 void setDecay(double decay) { in setDecay() argument59 mDecay = decay; in setDecay()
184 void detectPeaks(float decay) { in detectPeaks() argument188 level *= decay; // exponential decay in detectPeaks()760 static constexpr float decay = 0.99f; // just under 1.0, lower numbers decay faster in measureLatency() local761 mAudioRecording.detectPeaks(decay); in measureLatency()762 mPulse.detectPeaks(decay); in measureLatency()