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.c534 size_t block_size_max; in pa_resampler_max_block_size() local
541 block_size_max = pa_mempool_block_size_max(r->mempool); in pa_resampler_max_block_size()
554 frames = block_size_max / max_fs - EXTRA_FRAMES; in pa_resampler_max_block_size()
560 block_size_max = ((uint64_t) frames * r->i_ss.rate / max_ss.rate) * r->i_fz; in pa_resampler_max_block_size()
562 if (block_size_max > 0) in pa_resampler_max_block_size()
563 return block_size_max; in pa_resampler_max_block_size()
Dsink.c1228 size_t block_size_max; in pa_sink_render() local
1251 block_size_max = pa_mempool_block_size_max(s->core->mempool); in pa_sink_render()
1252 if (length > block_size_max) in pa_sink_render()
1253 length = pa_frame_align(block_size_max, &s->sample_spec); in pa_sink_render()
1313 size_t length, block_size_max; in pa_sink_render_into() local
1334 block_size_max = pa_mempool_block_size_max(s->core->mempool); in pa_sink_render_into()
1335 if (length > block_size_max) in pa_sink_render_into()
1336 length = pa_frame_align(block_size_max, &s->sample_spec); in pa_sink_render_into()