Home
last modified time | relevance | path

Searched refs:requested_latency (Results 1 – 7 of 7) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-loopback.c826 pa_usec_t latency, requested_latency; in set_source_output_latency() local
828 requested_latency = u->latency / 3; in set_source_output_latency()
833 if (u->min_sink_latency > requested_latency) { in set_source_output_latency()
835 requested_latency = (latency - u->min_sink_latency) / 2; in set_source_output_latency()
838 latency = PA_CLAMP(requested_latency , u->min_source_latency, u->max_source_latency); in set_source_output_latency()
840 if (u->configured_source_latency != requested_latency) in set_source_output_latency()
841 …quested source latency of %0.2f ms, adjusting to %0.2f ms", (double)requested_latency / PA_USEC_PE… in set_source_output_latency()
1217 pa_usec_t latency, requested_latency; in set_sink_input_latency() local
1219 requested_latency = u->latency / 3; in set_sink_input_latency()
1224 if (u->min_source_latency > requested_latency) { in set_sink_input_latency()
[all …]
Dmodule-tunnel-source-new.c350 pa_usec_t requested_latency; in on_source_created() local
383 requested_latency = pa_source_get_requested_latency_within_thread(u->source); in on_source_created()
384 if (requested_latency == (uint32_t) -1) in on_source_created()
385 requested_latency = u->source->thread_info.max_latency; in on_source_created()
388 bufferattr.fragsize = pa_usec_to_bytes(requested_latency, &u->source->sample_spec); in on_source_created()
Dmodule-tunnel-sink-new.c366 pa_usec_t requested_latency; in on_sink_created() local
399 requested_latency = pa_sink_get_requested_latency_within_thread(u->sink); in on_sink_created()
400 if (requested_latency == (pa_usec_t) -1) in on_sink_created()
401 requested_latency = u->sink->thread_info.max_latency; in on_sink_created()
404 bufferattr.tlength = pa_usec_to_bytes(requested_latency, &u->sink->sample_spec); in on_sink_created()
/third_party/pulseaudio/src/pulsecore/
Dsource.h243 pa_usec_t requested_latency; member
Dsink.h288 pa_usec_t requested_latency; member
Dsource.c330 s->thread_info.requested_latency = 0; in pa_source_new()
2396 return s->thread_info.requested_latency; in pa_source_get_requested_latency_within_thread()
2408 s->thread_info.requested_latency = result; in pa_source_get_requested_latency_within_thread()
Dsink.c347 s->thread_info.requested_latency = 0; in pa_sink_new()
3140 return s->thread_info.requested_latency; in pa_sink_get_requested_latency_within_thread()
3158 s->thread_info.requested_latency = result; in pa_sink_get_requested_latency_within_thread()