Searched refs:peakLevel (Results 1 – 4 of 4) sorted by relevance
245 float peakLevel; member274 data->peakLevel *= DECAY_FACTOR; in SimpleRecorderDataCallbackProc()275 if (sample > data->peakLevel) { in SimpleRecorderDataCallbackProc()276 data->peakLevel = sample; in SimpleRecorderDataCallbackProc()286 data->peakLevel *= DECAY_FACTOR; in SimpleRecorderDataCallbackProc()287 if (sample > data->peakLevel) { in SimpleRecorderDataCallbackProc()288 data->peakLevel = sample; in SimpleRecorderDataCallbackProc()
102 void displayPeakLevel(float peakLevel) { in displayPeakLevel() argument103 printf("%5.3f ", peakLevel); in displayPeakLevel()105 int numStars = (int) (peakLevel * maxStars); in displayPeakLevel()
56 float peakLevel = 0.0; in main() local155 if (sample > peakLevel) { in main()156 peakLevel = sample; in main()162 displayPeakLevel(peakLevel); in main()163 peakLevel = 0.0; in main()
80 displayPeakLevel(myData.peakLevel); in main()116 displayPeakLevel(myData.peakLevel); in main()