Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/rtp/
Dmodule-rtp-recv.c104 pa_usec_t sink_latency; member
554 s->sink_latency = pa_sink_input_set_requested_latency(s->sink_input, s->intended_latency/2); in session_new()
556 if (s->intended_latency < s->sink_latency*2) in session_new()
557 s->intended_latency = s->sink_latency*2; in session_new()
565 pa_usec_to_bytes(s->intended_latency - s->sink_latency, &s->sink_input->sample_spec), in session_new()
/third_party/pulseaudio/src/modules/
Dmodule-combine-sink.c129 pa_usec_t sink_latency; member
296 snapshot_latency = o->latency_snapshot.sink_latency in adjust_rates()
313 if (o->latency_snapshot.sink_latency > max_sink_latency) { in adjust_rates()
314 max_sink_latency = o->latency_snapshot.sink_latency; in adjust_rates()
319 …pshot latency = %0.2fms", o->sink->name, (double) o->latency_snapshot.sink_latency / PA_USEC_PER_M… in adjust_rates()
772 o->latency_snapshot.sink_latency = pa_sink_get_latency_within_thread(o->sink, true) + in sink_input_process_msg()
775 …o->latency_snapshot.sink_latency += pa_resampler_get_delay_usec(o->sink_input->thread_info.resampl… in sink_input_process_msg()
Dmodule-loopback.c159 int64_t sink_latency; member
489 …current_source_sink_latency = u->latency_snapshot.sink_latency + u->latency_snapshot.source_latenc… in adjust_rates()
551 (double) u->latency_snapshot.sink_latency / PA_USEC_PER_MSEC, in adjust_rates()
1174 … u->latency_snapshot.sink_latency = pa_sink_get_latency_within_thread(u->sink_input->sink, true) + in sink_input_process_msg_cb()
1177 …u->latency_snapshot.sink_latency += pa_resampler_get_delay_usec(u->sink_input->thread_info.resampl… in sink_input_process_msg_cb()
/third_party/pulseaudio/src/pulsecore/
Dsink-input.h399 pa_usec_t pa_sink_input_get_latency(pa_sink_input *i, pa_usec_t *sink_latency);
Dsink-input.c940 pa_usec_t pa_sink_input_get_latency(pa_sink_input *i, pa_usec_t *sink_latency) { in pa_sink_input_get_latency() argument
952 if (sink_latency) in pa_sink_input_get_latency()
953 *sink_latency = r[1]; in pa_sink_input_get_latency()
Dprotocol-native.c3464 pa_usec_t sink_latency; in sink_input_fill_tagstruct() local
3487 pa_tagstruct_put_usec(t, pa_sink_input_get_latency(s, &sink_latency)); in sink_input_fill_tagstruct()
3488 pa_tagstruct_put_usec(t, sink_latency); in sink_input_fill_tagstruct()
/third_party/pulseaudio/src/modules/echo-cancel/
Dmodule-echo-cancel.c194 pa_usec_t sink_latency; member
324 diff_time = (snapshot->sink_now + snapshot->sink_latency - buffer_latency) - in calc_diff()
328 (long long) snapshot->sink_latency, in calc_diff()
1149 snapshot->sink_latency = latency; in sink_input_process_msg_cb()