Home
last modified time | relevance | path

Searched refs:out_chunk (Results 1 – 3 of 3) sorted by relevance

/third_party/pulseaudio/src/tests/
Dresampler-rewind-test.c230 pa_memchunk in_chunk, out_chunk, rewound_chunk, silence_chunk; in main() local
347 pa_resampler_run(resampler, &in_chunk, &out_chunk); in main()
348 if (!out_chunk.memblock) { in main()
356 if (rewind > out_chunk.length / pa_frame_size(&b)) { in main()
357 …ind (%u) larger than number of output frames (%lu), aborting.", rewind, out_chunk.length / pa_fram… in main()
415 old_length = out_chunk.length; in main()
416 out_chunk.length = rewound_chunk.length; in main()
417 out_chunk.index = old_length - out_chunk.length; in main()
419 max_diff = compare_blocks(&b, &out_chunk, &rewound_chunk); in main()
426 pa_memblock_unref(out_chunk.memblock); in main()
/third_party/pulseaudio/src/pulsecore/
Dresampler.c690 pa_memchunk in_chunk, out_chunk; in pa_resampler_prepare() local
706 pa_resampler_run(r, &in_chunk, &out_chunk); in pa_resampler_prepare()
709 if (out_chunk.length != 0) { in pa_resampler_prepare()
710 out_size += out_chunk.length; in pa_resampler_prepare()
711 pa_memblock_unref(out_chunk.memblock); in pa_resampler_prepare()
Dsink-input.c2116 pa_memchunk in_chunk, out_chunk; in restore_render_memblockq() local
2129 pa_resampler_run(i->thread_info.resampler, &in_chunk, &out_chunk); in restore_render_memblockq()
2132 out_chunk = in_chunk; in restore_render_memblockq()
2134 if (out_chunk.length > 0) { in restore_render_memblockq()
2135 pa_memblockq_push(i->thread_info.render_memblockq, &out_chunk); in restore_render_memblockq()
2136 pa_memblock_unref(out_chunk.memblock); in restore_render_memblockq()