Lines Matching full:inbuffer
666 audio_buffer_t *inBuffer,
674 if (inBuffer == NULL || inBuffer->raw == NULL ||
676 inBuffer->frameCount != outBuffer->frameCount ||
677 inBuffer->frameCount == 0) {
687 for (inIdx = 0 ; inIdx < inBuffer->frameCount * visu_ctxt->channel_count ; inIdx++) {
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];
693 rms_squared_acc += (inBuffer->s16[inIdx] * inBuffer->s16[inIdx]);
698 rms_squared_acc / (inBuffer->frameCount * visu_ctxt->channel_count);
712 int len = inBuffer->frameCount * 2;
715 int32_t smp = inBuffer->s16[i];
739 in_idx < inBuffer->frameCount;
745 int32_t smp = inBuffer->s16[2 * in_idx] + inBuffer->s16[2 * in_idx + 1];
1006 audio_buffer_t *inBuffer,