Lines Matching refs:inBuffer
719 audio_buffer_t *inBuffer, in visualizer_process() argument
727 if (inBuffer == NULL || inBuffer->raw == NULL || in visualizer_process()
729 inBuffer->frameCount != outBuffer->frameCount || in visualizer_process()
730 inBuffer->frameCount == 0) { in visualizer_process()
740 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()
741 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
742 max_sample = inBuffer->s16[inIdx]; in visualizer_process()
743 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()
744 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()
746 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()
751 rms_squared_acc / (inBuffer->frameCount * visu_ctxt->channel_count); in visualizer_process()
765 int len = inBuffer->frameCount * 2; in visualizer_process()
768 int32_t smp = inBuffer->s16[i]; in visualizer_process()
792 in_idx < inBuffer->frameCount; in visualizer_process()
798 int32_t smp = inBuffer->s16[2 * in_idx] + inBuffer->s16[2 * in_idx + 1]; in visualizer_process()
1074 audio_buffer_t *inBuffer __unused, in effect_process()