Searched refs:bufferattr (Results 1 – 2 of 2) sorted by relevance
159 static void reset_bufferattr(pa_buffer_attr *bufferattr) { in reset_bufferattr() argument160 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() local321 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()[all …]
148 static void reset_bufferattr(pa_buffer_attr *bufferattr) { in reset_bufferattr() argument149 pa_assert(bufferattr); in reset_bufferattr()150 bufferattr->fragsize = (uint32_t) -1; in reset_bufferattr()151 bufferattr->minreq = (uint32_t) -1; in reset_bufferattr()152 bufferattr->maxlength = (uint32_t) -1; in reset_bufferattr()153 bufferattr->prebuf = (uint32_t) -1; in reset_bufferattr()154 bufferattr->tlength = (uint32_t) -1; in reset_bufferattr()349 pa_buffer_attr bufferattr; in on_source_created() local387 reset_bufferattr(&bufferattr); in on_source_created()388 bufferattr.fragsize = pa_usec_to_bytes(requested_latency, &u->source->sample_spec); in on_source_created()[all …]