Lines Matching refs:output_frames
335 size_t output_frames = ((int64_t) input_frames * output_freq) / input_freq; in main() local
336 size_t output_size = output_frames * output_framesize; in main()
415 resampler->resample((int*) output_vaddr, output_frames, &provider); in main()
428 quality, channels, time/1000000, output_frames * looplimit / (time / 1e9) / 1e6); in main()
442 printf("resample() %zu output frames\n", output_frames); in main()
445 Ovalues.push(output_frames); in main()
447 for (size_t i = 0, j = 0; i < output_frames; ) { in main()
452 if (thisFrames == 0 || thisFrames > output_frames - i) { in main()
453 thisFrames = output_frames - i; in main()
472 reinterpret_cast<float*>(output_vaddr), output_frames * output_channels); in main()
478 std::unique_ptr<int16_t[]> convert(new int16_t[output_frames * channels]); in main()
484 for (size_t i = 0; i < output_frames; i++) { in main()
513 (void) sf_writef_short(sf, convert.get(), output_frames); in main()