Searched refs:buffer_latency (Results 1 – 2 of 2) sorted by relevance
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-stream.c | 453 dbus_uint64_t buffer_latency = 0; in handle_get_buffer_latency() local 460 buffer_latency = pa_sink_input_get_latency(s->sink_input, NULL); in handle_get_buffer_latency() 462 buffer_latency = pa_source_output_get_latency(s->source_output, NULL); in handle_get_buffer_latency() 464 pa_dbus_send_basic_variant_reply(conn, msg, DBUS_TYPE_UINT64, &buffer_latency); in handle_get_buffer_latency() 528 dbus_uint64_t buffer_latency = 0; in handle_get_all() local 550 buffer_latency = pa_sink_input_get_latency(s->sink_input, &device_latency); in handle_get_all() 560 buffer_latency = pa_source_output_get_latency(s->source_output, &device_latency); in handle_get_all() 598 …operty_handlers[PROPERTY_HANDLER_BUFFER_LATENCY].property_name, DBUS_TYPE_UINT64, &buffer_latency); in handle_get_all()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
D | module-echo-cancel.c | 300 int64_t diff_time, buffer_latency; in calc_diff() local 307 buffer_latency = plen - rlen; in calc_diff() 309 buffer_latency = 0; in calc_diff() 313 buffer_latency += source_delay + sink_delay; in calc_diff() 319 buffer_latency += (int64_t) (send_counter - recv_counter); in calc_diff() 321 buffer_latency = PA_CLIP_SUB(buffer_latency, (int64_t) (recv_counter - send_counter)); in calc_diff() 324 diff_time = (snapshot->sink_now + snapshot->sink_latency - buffer_latency) - in calc_diff() 329 (long long) buffer_latency, (long long) snapshot->source_latency, in calc_diff()
|