Lines Matching refs:inBuffer
709 audio_buffer_t *inBuffer, in visualizer_process() argument
717 if (inBuffer == NULL || inBuffer->raw == NULL || in visualizer_process()
719 inBuffer->frameCount != outBuffer->frameCount || in visualizer_process()
720 inBuffer->frameCount == 0) { in visualizer_process()
730 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()
731 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
732 max_sample = inBuffer->s16[inIdx]; in visualizer_process()
733 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
734 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()
736 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()
741 rms_squared_acc / (inBuffer->frameCount * visu_ctxt->channel_count); in visualizer_process()
755 int len = inBuffer->frameCount * 2; in visualizer_process()
758 int32_t smp = inBuffer->s16[i]; in visualizer_process()
782 in_idx < inBuffer->frameCount; in visualizer_process()
788 int32_t smp = inBuffer->s16[2 * in_idx] + inBuffer->s16[2 * in_idx + 1]; in visualizer_process()
1049 audio_buffer_t *inBuffer __unused, in effect_process()