Home
last modified time | relevance | path

Searched refs:block_usec (Results 1 – 9 of 9) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-sine-source.c67 pa_usec_t block_usec; /* how much to push at once */ member
96 *((int64_t*) data) = (int64_t)u->block_usec - left_to_fill; in source_process_msg()
124 u->block_usec = pa_source_get_requested_latency_within_thread(s); in source_update_requested_latency_cb()
126 if (u->block_usec == (pa_usec_t) -1) in source_update_requested_latency_cb()
127 u->block_usec = s->thread_info.max_latency; in source_update_requested_latency_cb()
129 pa_log_debug("new block msec = %lu", (unsigned long) (u->block_usec / PA_USEC_PER_MSEC)); in source_update_requested_latency_cb()
135 while (u->timestamp < now + u->block_usec) { in process_render()
139 k = pa_usec_to_bytes_round_up(now + u->block_usec - u->timestamp, &u->source->sample_spec); in process_render()
270 u->block_usec = BLOCK_USEC; in pa__init()
274 pa_source_set_fixed_latency(u->source, u->block_usec); in pa__init()
Dmodule-null-sink.c72 pa_usec_t block_usec; member
123 nbytes = pa_usec_to_bytes(u->block_usec, &s->sample_spec); in sink_recalculate_max_request_and_rewind()
163 u->block_usec = pa_sink_get_requested_latency_within_thread(s); in sink_update_requested_latency_cb()
165 if (u->block_usec == (pa_usec_t) -1) in sink_update_requested_latency_cb()
166 u->block_usec = s->thread_info.max_latency; in sink_update_requested_latency_cb()
242 while (u->timestamp < now + u->block_usec) { in process_render()
246 request_size = pa_usec_to_bytes(now + u->block_usec - u->timestamp, &u->sink->sample_spec); in process_render()
343 u->block_usec = BLOCK_USEC; in pa__init()
412 u->block_usec = BLOCK_USEC_NOREWINDS; in pa__init()
414 nbytes = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in pa__init()
[all …]
Dmodule-null-source.c73 pa_usec_t block_usec; member
127 u->block_usec = pa_source_get_requested_latency_within_thread(s); in source_update_requested_latency_cb()
129 if (u->block_usec == (pa_usec_t)-1) in source_update_requested_latency_cb()
130 u->block_usec = u->source->thread_info.max_latency; in source_update_requested_latency_cb()
132 …pa_source_set_max_rewind_within_thread(s, pa_usec_to_bytes(u->block_usec, &u->source->sample_spec)… in source_update_requested_latency_cb()
175 pa_rtpoll_set_timer_absolute(u->rtpoll, u->timestamp + u->block_usec); in thread_func()
264 u->block_usec = u->source->thread_info.max_latency; in pa__init()
267 pa_usec_to_bytes(u->block_usec, &u->source->sample_spec); in pa__init()
Dmodule-pipe-sink.c91 pa_usec_t block_usec; member
171 u->block_usec = pa_sink_get_requested_latency_within_thread(s); in sink_update_requested_latency_cb()
173 if (u->block_usec == (pa_usec_t) -1) in sink_update_requested_latency_cb()
174 u->block_usec = s->thread_info.max_latency; in sink_update_requested_latency_cb()
176 nbytes = pa_usec_to_bytes(u->block_usec, &s->sample_spec); in sink_update_requested_latency_cb()
236 while (u->timestamp < now + u->block_usec) { in process_render_use_timing()
531 u->block_usec = pa_bytes_to_usec(u->buffer_size, &u->sink->sample_spec); in pa__init()
532 pa_sink_set_latency_range(u->sink, 0, u->block_usec); in pa__init()
Dmodule-tunnel-source-new.c437 pa_usec_t block_usec; in source_update_requested_latency_cb() local
443 block_usec = pa_source_get_requested_latency_within_thread(s); in source_update_requested_latency_cb()
444 if (block_usec == (pa_usec_t) -1) in source_update_requested_latency_cb()
445 block_usec = s->thread_info.max_latency; in source_update_requested_latency_cb()
447 nbytes = pa_usec_to_bytes(block_usec, &s->sample_spec); in source_update_requested_latency_cb()
Dmodule-tunnel-sink-new.c463 pa_usec_t block_usec; in sink_update_requested_latency_cb() local
469 block_usec = pa_sink_get_requested_latency_within_thread(s); in sink_update_requested_latency_cb()
470 if (block_usec == (pa_usec_t) -1) in sink_update_requested_latency_cb()
471 block_usec = s->thread_info.max_latency; in sink_update_requested_latency_cb()
473 nbytes = pa_usec_to_bytes(block_usec, &s->sample_spec); in sink_update_requested_latency_cb()
Dmodule-combine-sink.c165 pa_usec_t block_usec; member
398 while (u->thread_info.timestamp < now + u->block_usec) { in process_render_null()
912 max_request = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in update_max_request()
1014 u->block_usec = pa_sink_get_requested_latency_within_thread(s); in sink_update_requested_latency()
1016 if (u->block_usec == (pa_usec_t) -1) in sink_update_requested_latency()
1017 u->block_usec = s->thread_info.max_latency; in sink_update_requested_latency()
1019 pa_log_debug("Sink update requested latency %0.2f", (double) u->block_usec / PA_USEC_PER_MSEC); in sink_update_requested_latency()
1024 u->block_usec, NULL, NULL); in sink_update_requested_latency()
1646 u->block_usec = u->sink->thread_info.max_latency; in pa__init()
Dmodule-virtual-source.c79 pa_usec_t block_usec; member
684 u->block_usec = BLOCK_USEC; in pa__init()
685 nbytes = pa_usec_to_bytes(u->block_usec, &u->sink->sample_spec); in pa__init()
/third_party/pulseaudio/src/modules/raop/
Draop-sink.c99 pa_usec_t block_usec; member
574 if (intvl < now + u->block_usec) { in thread_func()
926 u->block_usec = pa_bytes_to_usec(u->block_size, &u->sink->sample_spec); in pa_raop_sink_new()