Lines Matching refs:qchunk
792 pa_memchunk qchunk; in pa_source_output_push() local
797 pa_assert_se(pa_memblockq_peek(o->thread_info.delay_memblockq, &qchunk) >= 0); in pa_source_output_push()
799 if (qchunk.length > length) in pa_source_output_push()
800 qchunk.length = length; in pa_source_output_push()
802 pa_assert(qchunk.length > 0); in pa_source_output_push()
806 pa_memchunk_make_writable(&qchunk, 0); in pa_source_output_push()
809 pa_silence_memchunk(&qchunk, &o->source->sample_spec); in pa_source_output_push()
819 pa_volume_memchunk(&qchunk, &o->source->sample_spec, &v); in pa_source_output_push()
823 pa_volume_memchunk(&qchunk, &o->source->sample_spec, &o->thread_info.soft_volume); in pa_source_output_push()
827 pa_memchunk_make_writable(&qchunk, 0); in pa_source_output_push()
828 pa_volume_memchunk(&qchunk, &o->source->sample_spec, &o->volume_factor_source); in pa_source_output_push()
832 o->push(o, &qchunk); in pa_source_output_push()
839 if (qchunk.length > mbs) in pa_source_output_push()
840 qchunk.length = mbs; in pa_source_output_push()
842 pa_resampler_run(o->thread_info.resampler, &qchunk, &rchunk); in pa_source_output_push()
851 pa_memblock_unref(qchunk.memblock); in pa_source_output_push()
852 pa_memblockq_drop(o->thread_info.delay_memblockq, qchunk.length); in pa_source_output_push()