Searched refs:peakU16 (Results 1 – 2 of 2) sorted by relevance
135 uint16_t peakU16 = 0; in getMeasure() local157 if (mPastMeasurements[i].mPeakU16 > peakU16) { in getMeasure()158 peakU16 = mPastMeasurements[i].mPeakU16; in getMeasure()171 measure.peak = (peakU16 == 0) ? -9600 : (int32_t)(2000 * log10(peakU16 / 32767.0f)); in getMeasure()172 LOG(VERBOSE) << __func__ << " peak " << peakU16 << " (" << measure.peak << "mB), rms " << rms in getMeasure()
705 uint16_t peakU16 = 0; in Visualizer_command() local725 if (pContext->mPastMeasurements[i].mPeakU16 > peakU16) { in Visualizer_command()726 peakU16 = pContext->mPastMeasurements[i].mPeakU16; in Visualizer_command()741 if (peakU16 == 0) { in Visualizer_command()744 pIntReplyData[MEASUREMENT_IDX_PEAK] = (int32_t) (2000 * log10(peakU16 / 32767.0f)); in Visualizer_command()747 peakU16, pIntReplyData[MEASUREMENT_IDX_PEAK], in Visualizer_command()