Lines Matching refs:max_sample
685 int16_t max_sample = 0;688 if (inBuffer->s16[inIdx] > max_sample) {689 max_sample = inBuffer->s16[inIdx];690 } else if (-inBuffer->s16[inIdx] > max_sample) {691 max_sample = -inBuffer->s16[inIdx];696 visu_ctxt->past_meas[visu_ctxt->meas_buffer_idx].peak_u16 = (uint16_t)max_sample;