Lines Matching refs:slength
959 void pa_sink_input_peek(pa_sink_input *i, size_t slength /* in sink bytes */, pa_memchunk *chunk, pa_cvolume *volume) {
969 pa_assert(pa_frame_aligned(slength, &i->sink->sample_spec));
984 if (slength <= 0)
985 slength = pa_frame_align(CONVERT_BUFFER_LENGTH, &i->sink->sample_spec);
987 if (slength > block_size_max_sink)
988 slength = block_size_max_sink;
991 ilength = pa_resampler_request(i->thread_info.resampler, slength);
996 ilength = slength;
998 /* Length corresponding to slength (without limiting to
1025 pa_memblockq_seek(i->thread_info.render_memblockq, (int64_t) slength, PA_SEEK_RELATIVE, true);
1030 i->thread_info.underrun_for_sink += slength;