Searched refs:inBuffer (Results 1 – 1 of 1) sorted by relevance
634 audio_buffer_t *inBuffer, in visualizer_process() argument642 if (inBuffer == NULL || inBuffer->raw == NULL || in visualizer_process()644 inBuffer->frameCount != outBuffer->frameCount || in visualizer_process()645 inBuffer->frameCount == 0) { in visualizer_process()655 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) { in visualizer_process()656 if (inBuffer->s16[inIdx] > max_sample) { in visualizer_process()657 max_sample = inBuffer->s16[inIdx]; in visualizer_process()658 } else if (-inBuffer->s16[inIdx] > max_sample) { in visualizer_process()659 max_sample = -inBuffer->s16[inIdx]; in visualizer_process()661 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]); in visualizer_process()[all …]