Searched refs:current_rate (Results 1 – 6 of 6) sorted by relevance
/third_party/pulseaudio/src/modules/rtp/ |
D | module-rtp-recv.c | 276 uint32_t current_rate = s->sink_input->sample_spec.rate; in rtpoll_work_cb() local 331 …estimated_rate = (double) current_rate * (double) RATE_UPDATE_INTERVAL / (double) (RATE_UPDATE_INT… in rtpoll_work_cb() 349 … if (new_rate < (uint32_t) (current_rate*0.998) || new_rate > (uint32_t) (current_rate*1.002)) { in rtpoll_work_cb() 350 …fo("New rate of %u Hz not within 2‰ of %u Hz, forcing smaller adjustment", new_rate, current_rate); in rtpoll_work_cb() 351 … new_rate = PA_CLAMP(new_rate, (uint32_t) (current_rate*0.998), (uint32_t) (current_rate*1.002)); in rtpoll_work_cb()
|
/third_party/pulseaudio/src/modules/ |
D | module-combine-sink.c | 238 uint32_t current_rate; in adjust_rates() local 243 current_rate = o->sink_input->sample_spec.rate; in adjust_rates() 255 … if (new_rate < (uint32_t) (current_rate*0.998) || new_rate > (uint32_t) (current_rate*1.002)) { in adjust_rates() 256 …ithin 2‰ of %u Hz, forcing smaller adjustment", o->sink_input->sink->name, new_rate, current_rate); in adjust_rates() 257 … new_rate = PA_CLAMP(new_rate, (uint32_t) (current_rate*0.998), (uint32_t) (current_rate*1.002)); in adjust_rates()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | splitmuxsrc.c | 36 gdouble current_rate; variable 147 current_rate = rate; in seek_pipeline() 187 if (current_rate > 0) { in receive_sample()
|
D | splitmuxsinktimecode.c | 42 gdouble current_rate; variable 153 current_rate = rate; in seek_pipeline() 193 if (current_rate > 0) { in receive_sample()
|
D | splitmuxsink.c | 36 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/ |
D | audioresample.c | 573 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()
|