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.c926 int32_t* p_int_reply_data = (int32_t*)pReplyData; in visualizer_command() local
929 p_int_reply_data[MEASUREMENT_IDX_RMS] = -9600; //-96dB in visualizer_command()
931 p_int_reply_data[MEASUREMENT_IDX_RMS] = (int32_t) (2000 * log10(rms / 32767.0f)); in visualizer_command()
934 p_int_reply_data[MEASUREMENT_IDX_PEAK] = -9600; //-96dB in visualizer_command()
936 p_int_reply_data[MEASUREMENT_IDX_PEAK] = (int32_t) (2000 * log10(peak_u16 / 32767.0f)); in visualizer_command()
939 peak_u16, p_int_reply_data[MEASUREMENT_IDX_PEAK], in visualizer_command()
940 rms, p_int_reply_data[MEASUREMENT_IDX_RMS]); in visualizer_command()