Home
last modified time | relevance | path

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

/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp735 int32_t* pIntReplyData = (int32_t*)pReplyData; in Visualizer_command() local
738 pIntReplyData[MEASUREMENT_IDX_RMS] = -9600; //-96dB in Visualizer_command()
740 pIntReplyData[MEASUREMENT_IDX_RMS] = (int32_t) (2000 * log10(rms / 32767.0f)); in Visualizer_command()
743 pIntReplyData[MEASUREMENT_IDX_PEAK] = -9600; //-96dB in Visualizer_command()
745 pIntReplyData[MEASUREMENT_IDX_PEAK] = (int32_t) (2000 * log10(peakU16 / 32767.0f)); in Visualizer_command()
748 peakU16, pIntReplyData[MEASUREMENT_IDX_PEAK], in Visualizer_command()
749 rms, pIntReplyData[MEASUREMENT_IDX_RMS]); in Visualizer_command()