Home
last modified time | relevance | path

Searched refs:block_size_max (Results 1 – 2 of 2) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dresampler.c606 size_t block_size_max; in pa_resampler_max_block_size() local
613 block_size_max = pa_mempool_block_size_max(r->mempool); in pa_resampler_max_block_size()
626 frames = block_size_max / max_fs - EXTRA_FRAMES; in pa_resampler_max_block_size()
632 block_size_max = ((uint64_t) frames * r->i_ss.rate / max_ss.rate) * r->i_fz; in pa_resampler_max_block_size()
634 if (block_size_max > 0) in pa_resampler_max_block_size()
635 return block_size_max; in pa_resampler_max_block_size()
Dsink.c1243 size_t block_size_max; in pa_sink_render() local
1266 block_size_max = pa_mempool_block_size_max(s->core->mempool); in pa_sink_render()
1267 if (length > block_size_max) in pa_sink_render()
1268 length = pa_frame_align(block_size_max, &s->sample_spec); in pa_sink_render()
1328 size_t length, block_size_max; in pa_sink_render_into() local
1349 block_size_max = pa_mempool_block_size_max(s->core->mempool); in pa_sink_render_into()
1350 if (length > block_size_max) in pa_sink_render_into()
1351 length = pa_frame_align(block_size_max, &s->sample_spec); in pa_sink_render_into()