Home
last modified time | relevance | path

Searched refs:peakLevel (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h245 float peakLevel; member
274 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()
DAAudioExampleUtils.h102 void displayPeakLevel(float peakLevel) { in displayPeakLevel() argument
103 printf("%5.3f ", peakLevel); in displayPeakLevel()
105 int numStars = (int) (peakLevel * maxStars); in displayPeakLevel()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp56 float peakLevel = 0.0; in main() local
155 if (sample > peakLevel) { in main()
156 peakLevel = sample; in main()
162 displayPeakLevel(peakLevel); in main()
163 peakLevel = 0.0; in main()
Dinput_monitor_callback.cpp80 displayPeakLevel(myData.peakLevel); in main()
116 displayPeakLevel(myData.peakLevel); in main()