• Home
  • Raw
  • Download

Lines Matching refs:bufferattr

159 static void reset_bufferattr(pa_buffer_attr *bufferattr) {  in reset_bufferattr()  argument
160 pa_assert(bufferattr); in reset_bufferattr()
161 bufferattr->fragsize = (uint32_t) -1; in reset_bufferattr()
162 bufferattr->minreq = (uint32_t) -1; in reset_bufferattr()
163 bufferattr->maxlength = (uint32_t) -1; in reset_bufferattr()
164 bufferattr->prebuf = (uint32_t) -1; in reset_bufferattr()
165 bufferattr->tlength = (uint32_t) -1; in reset_bufferattr()
318 const pa_buffer_attr *bufferattr; in stream_changed_buffer_attr_cb() local
321 bufferattr = pa_stream_get_buffer_attr(u->stream); in stream_changed_buffer_attr_cb()
322 pa_sink_set_max_request_within_thread(u->sink, bufferattr->tlength); in stream_changed_buffer_attr_cb()
325 (unsigned long) bufferattr->tlength); in stream_changed_buffer_attr_cb()
365 pa_buffer_attr bufferattr; in on_sink_created() local
403 reset_bufferattr(&bufferattr); in on_sink_created()
404 bufferattr.tlength = pa_usec_to_bytes(requested_latency, &u->sink->sample_spec); in on_sink_created()
406 pa_log_debug("tlength requested at %lu.", (unsigned long) bufferattr.tlength); in on_sink_created()
414 &bufferattr, in on_sink_created()
464 pa_buffer_attr bufferattr; in sink_update_requested_latency_cb() local
485 reset_bufferattr(&bufferattr); in sink_update_requested_latency_cb()
486 bufferattr.tlength = nbytes; in sink_update_requested_latency_cb()
487 … if ((operation = pa_stream_set_buffer_attr(u->stream, &bufferattr, stream_set_buffer_attr_cb, u))) in sink_update_requested_latency_cb()