Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h197 float peakLevel; member
226 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()
DAAudioExampleUtils.h52 void displayPeakLevel(float peakLevel) { in displayPeakLevel() argument
53 printf("%5.3f ", peakLevel); in displayPeakLevel()
55 int numStars = (int) (peakLevel * maxStars); in displayPeakLevel()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp62 float peakLevel = 0.0; in main() local
152 if (sample > peakLevel) { in main()
153 peakLevel = sample; in main()
159 displayPeakLevel(peakLevel); in main()
160 peakLevel = 0.0; in main()
Dinput_monitor_callback.cpp68 displayPeakLevel(myData.peakLevel); in main()
103 displayPeakLevel(myData.peakLevel); in main()