Home
last modified time | relevance | path

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

/hardware/qcom/audio/visualizer/
Doffload_visualizer.c901 int32_t* p_int_reply_data = (int32_t*)pReplyData; in visualizer_command() local
904 p_int_reply_data[MEASUREMENT_IDX_RMS] = -9600; //-96dB in visualizer_command()
906 p_int_reply_data[MEASUREMENT_IDX_RMS] = (int32_t) (2000 * log10(rms / 32767.0f)); in visualizer_command()
909 p_int_reply_data[MEASUREMENT_IDX_PEAK] = -9600; //-96dB in visualizer_command()
911 p_int_reply_data[MEASUREMENT_IDX_PEAK] = (int32_t) (2000 * log10(peak_u16 / 32767.0f)); in visualizer_command()
914 peak_u16, p_int_reply_data[MEASUREMENT_IDX_PEAK], in visualizer_command()
915 rms, p_int_reply_data[MEASUREMENT_IDX_RMS]); in visualizer_command()