Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:output_frames

335     size_t output_frames = ((int64_t) input_frames * output_freq) / input_freq;
336 size_t output_size = output_frames * output_framesize;
415 resampler->resample((int*) output_vaddr, output_frames, &provider);
428 quality, channels, time/1000000, output_frames * looplimit / (time / 1e9) / 1e6);
434 printf("resample() %zu output frames\n", output_frames);
437 Ovalues.push(output_frames);
439 for (size_t i = 0, j = 0; i < output_frames; ) {
444 if (thisFrames == 0 || thisFrames > output_frames - i) {
445 thisFrames = output_frames - i;
464 reinterpret_cast<float*>(output_vaddr), output_frames * output_channels);
470 int16_t* convert = (int16_t*) malloc(output_frames * channels * sizeof(int16_t));
476 for (size_t i = 0; i < output_frames; i++) {
505 (void) sf_writef_short(sf, convert, output_frames);