i->thread_info.resampler ? pa_resampler_max_block_size(i->thread_info.resampler) : 0);
while (target_length > 0) {
- if (target_length < schunk.length) {
+ if (target_length < schunk.length)
schunk.length = target_length;
pa_memblockq_push_align(i->thread_info.render_memblockq, &schunk);
target_length -= schunk.length;