Home
last modified time | relevance | path

Searched refs:PA_CLIP_SUB (Results 1 – 4 of 4) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dmacro.h115 #define PA_CLIP_SUB(a, b) \ macro
122 #define PA_CLIP_SUB(a, b) ((a) > (b) ? (a) - (b) : 0) macro
/third_party/pulseaudio/src/modules/
Dmodule-loopback.c439 …u->underrun_latency_limit = PA_CLIP_SUB((int64_t)target_latency, u->sink_latency_offset + u->sourc… in adjust_rates()
442 …u->underrun_latency_limit = PA_CLIP_SUB((int64_t)u->max_latency, u->sink_latency_offset + u->sourc… in adjust_rates()
453 u->underrun_counter = PA_CLIP_SUB(u->underrun_counter, 1u); in adjust_rates()
485 …buffer = PA_CLIP_SUB(buffer, (size_t) (u->latency_snapshot.recv_counter - u->latency_snapshot.send… in adjust_rates()
Dmodule-virtual-source.c416 … u->skip = pa_usec_to_bytes(PA_CLIP_SUB(pa_source_get_latency_within_thread(o->source, false), in source_output_state_change_cb()
/third_party/pulseaudio/src/modules/echo-cancel/
Dmodule-echo-cancel.c321 buffer_latency = PA_CLIP_SUB(buffer_latency, (int64_t) (recv_counter - send_counter)); in calc_diff()