Searched refs:peakLevel (Results 1 – 4 of 4) sorted by relevance
197 float peakLevel; member226 data->peakLevel *= DECAY_FACTOR; in SimpleRecorderDataCallbackProc()227 if (sample > data->peakLevel) { in SimpleRecorderDataCallbackProc()228 data->peakLevel = sample; in SimpleRecorderDataCallbackProc()238 data->peakLevel *= DECAY_FACTOR; in SimpleRecorderDataCallbackProc()239 if (sample > data->peakLevel) { in SimpleRecorderDataCallbackProc()240 data->peakLevel = sample; in SimpleRecorderDataCallbackProc()
52 void displayPeakLevel(float peakLevel) { in displayPeakLevel() argument53 printf("%5.3f ", peakLevel); in displayPeakLevel()55 int numStars = (int) (peakLevel * maxStars); in displayPeakLevel()
62 float peakLevel = 0.0; in main() local152 if (sample > peakLevel) { in main()153 peakLevel = sample; in main()159 displayPeakLevel(peakLevel); in main()160 peakLevel = 0.0; in main()
68 displayPeakLevel(myData.peakLevel); in main()103 displayPeakLevel(myData.peakLevel); in main()