Home
last modified time | relevance | path

Searched refs:current_rate (Results 1 – 5 of 5) sorted by relevance

/third_party/pulseaudio/src/modules/rtp/
Dmodule-rtp-recv.c276 uint32_t current_rate = s->sink_input->sample_spec.rate; in rtpoll_work_cb() local
332 …estimated_rate = (double) current_rate * (double) RATE_UPDATE_INTERVAL / (double) (RATE_UPDATE_INT… in rtpoll_work_cb()
350 … if (new_rate < (uint32_t) (current_rate*0.998) || new_rate > (uint32_t) (current_rate*1.002)) { in rtpoll_work_cb()
351 …fo("New rate of %u Hz not within 2‰ of %u Hz, forcing smaller adjustment", new_rate, current_rate); in rtpoll_work_cb()
352 … new_rate = PA_CLAMP(new_rate, (uint32_t) (current_rate*0.998), (uint32_t) (current_rate*1.002)); in rtpoll_work_cb()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dsplitmuxsrc.c36 gdouble current_rate; variable
147 current_rate = rate; in seek_pipeline()
187 if (current_rate > 0) { in receive_sample()
Dsplitmuxsinktimecode.c42 gdouble current_rate; variable
153 current_rate = rate; in seek_pipeline()
193 if (current_rate > 0) { in receive_sample()
Dsplitmuxsink.c36 gdouble current_rate; variable
147 current_rate = rate; in seek_pipeline()
187 if (current_rate > 0) { in receive_sample()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Daudioresample.c573 static gint current_rate = 0; variable
585 gst_caps_set_simple (acceptable_caps, "rate", G_TYPE_INT, current_rate, in live_switch_sink_query()
604 gst_caps_set_simple (acceptable_caps, "rate", G_TYPE_INT, current_rate, in live_switch_sink_query()
633 current_rate = rate; in live_switch_push_downstream()