Home
last modified time | relevance | path

Searched refs:smoother (Results 1 - 12 of 12) sorted by relevance

/third_party/pulseaudio/src/modules/
H A Dmodule-esound-sink.c67 #include <pulsecore/time-smoother.h>
120 pa_smoother_2 *smoother; member
122 pa_smoother *smoother; member
157 *((int64_t*) data) = pa_smoother_2_get_delay(u->smoother, pa_rtclock_now(), (uint64_t)u->offset + u->memchunk.length); in sink_process_msg()
161 r = pa_smoother_get(u->smoother, pa_rtclock_now()); in sink_process_msg()
204 pa_smoother_2_pause(u->smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
206 pa_smoother_pause(u->smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
215 pa_smoother_2_resume(u->smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
217 pa_smoother_resume(u->smoother, pa_rtclock_now(), true); in sink_set_state_in_io_thread_cb()
241 pa_smoother_2_reset(u->smoother, pa_rtclock_no in thread_func()
[all...]
H A Dmodule-solaris.c67 #include <pulsecore/time-smoother.h>
119 pa_smoother_2 *smoother; member
121 pa_smoother *smoother; member
177 pa_smoother_2_put(u->smoother, pa_rtclock_now(), played_bytes); in get_playback_buffered_bytes()
179 pa_smoother_put(u->smoother, pa_rtclock_now(), pa_bytes_to_usec(played_bytes, &u->sink->sample_spec)); in get_playback_buffered_bytes()
430 pa_smoother_2_pause(u->smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
432 pa_smoother_pause(u->smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
446 pa_smoother_2_resume(u->smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
448 pa_smoother_resume(u->smoother, pa_rtclock_now(), true); in sink_set_state_in_io_thread_cb()
679 pa_smoother_2_reset(u->smoother, pa_rtclock_no in thread_func()
[all...]
H A Dmodule-combine-sink.c50 #include <pulsecore/time-smoother.h>
179 pa_smoother_2 *smoother; member
181 pa_smoother *smoother; member
418 pa_smoother_2_put(u->thread_info.smoother, now, in process_render_null()
421 pa_smoother_put(u->thread_info.smoother, now, in process_render_null()
844 /* The first smoother update should be done early, otherwise the smoother will in sink_set_state_in_main_thread_cb()
881 pa_smoother_2_resume(u->thread_info.smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
883 pa_smoother_2_pause(u->thread_info.smoother, pa_rtclock_now()); in sink_set_state_in_io_thread_cb()
885 pa_smoother_resume(u->thread_info.smoother, pa_rtclock_no in sink_set_state_in_io_thread_cb()
[all...]
H A Dmodule-tunnel.c57 #include <pulsecore/time-smoother.h>
264 pa_smoother_2 *smoother; member
266 pa_smoother *smoother; member
505 pa_smoother_2_pause(u->smoother, x); in check_smoother_status()
507 pa_smoother_2_resume(u->smoother, x); in check_smoother_status()
509 pa_smoother_pause(u->smoother, x); in check_smoother_status()
511 pa_smoother_resume(u->smoother, x, true); in check_smoother_status()
603 *usec = pa_smoother_2_get_delay(u->smoother, pa_rtclock_now(), u->counter); in sink_process_msg()
608 yr = pa_smoother_get(u->smoother, pa_rtclock_now()); in sink_process_msg()
652 pa_smoother_2_put(u->smoother, in sink_process_msg()
[all...]
/third_party/pulseaudio/src/modules/raop/
H A Draop-sink.c67 #include <pulsecore/time-smoother.h>
105 pa_smoother_2 *smoother; member
107 pa_smoother *smoother; member
142 pa_assert(u->smoother); in sink_get_latency()
145 latency = pa_smoother_2_get_delay(u->smoother, pa_rtclock_now(), u->write_count); in sink_get_latency()
148 now = pa_smoother_get(u->smoother, now); in sink_get_latency()
201 pa_smoother_2_reset(u->smoother, now); in sink_process_msg()
203 pa_smoother_reset(u->smoother, now, false); in sink_process_msg()
335 pa_smoother_2_reset(u->smoother, now); in sink_set_state_in_io_thread_cb()
337 pa_smoother_reset(u->smoother, no in sink_set_state_in_io_thread_cb()
[all...]
/third_party/ffmpeg/libavformat/
H A Dlibsrt.c89 char *smoother; member
140 { "smoother", "The type of Smoother used for the transmission for that socket", OFFSET(smoother), AV_OPT_TYPE_STRING, { .str = NULL }, .flags = D|E },
360 (s->smoother && libsrt_setsockopt(h, fd, SRTO_CONGESTION, "SRTO_CONGESTION", s->smoother, strlen(s->smoother)) < 0) || in libsrt_set_options_pre()
362 (s->smoother && libsrt_setsockopt(h, fd, SRTO_SMOOTHER, "SRTO_SMOOTHER", s->smoother, strlen(s->smoother)) < 0) || in libsrt_set_options_pre()
641 if (av_find_info_tag(buf, sizeof(buf), "smoother", in libsrt_open()
[all...]
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-sink.c59 #include <pulsecore/time-smoother.h>
87 #define SMOOTHER_WINDOW_USEC (15*PA_USEC_PER_SEC) /* 15s -- smoother windows size */
89 #define SMOOTHER_WINDOW_USEC (10*PA_USEC_PER_SEC) /* 10s -- smoother windows size */
90 #define SMOOTHER_ADJUST_USEC (1*PA_USEC_PER_SEC) /* 1s -- smoother adjust time */
92 #define SMOOTHER_MIN_INTERVAL (2*PA_USEC_PER_MSEC) /* 2ms -- min smoother update interval */
93 #define SMOOTHER_MAX_INTERVAL (200*PA_USEC_PER_MSEC) /* 200ms -- max smoother update interval */
169 pa_smoother_2 *smoother; member
171 pa_smoother *smoother; member
496 /* Reset smoother and counters */
500 pa_smoother_2_reset(u->smoother, pa_rtclock_no in reset_vars()
[all...]
H A Dalsa-source.c54 #include <pulsecore/time-smoother.h>
153 pa_smoother_2 *smoother; member
155 pa_smoother *smoother; member
468 /* Reset smoother and counters */
472 pa_smoother_2_reset(u->smoother, pa_rtclock_now()); in reset_vars()
474 pa_smoother_reset(u->smoother, pa_rtclock_now(), true); in reset_vars()
487 pa_smoother_2_pause(u->smoother, pa_rtclock_now()); in close_pcm()
489 pa_smoother_pause(u->smoother, pa_rtclock_now()); in close_pcm()
917 /* Let's update the time smoother */ in update_smoother()
934 pa_smoother_2_put(u->smoother, now in update_smoother()
[all...]
/third_party/pulseaudio/src/pulse/
H A Dstream.c202 s->smoother = NULL; in pa_stream_new_with_proplist_internal()
309 if (s->smoother) in stream_free()
311 pa_smoother_2_free(s->smoother); in stream_free()
313 pa_smoother_free(s->smoother); in stream_free()
465 if (!s->smoother) in check_smoother_status()
479 pa_smoother_2_pause(s->smoother, x); in check_smoother_status()
481 pa_smoother_pause(s->smoother, x); in check_smoother_status()
502 pa_smoother_2_resume(s->smoother, x); in check_smoother_status()
504 pa_smoother_resume(s->smoother, x, true); in check_smoother_status()
1153 pa_smoother_2_set_sample_spec(s->smoother, pa_rtclock_no in pa_create_stream_callback()
[all...]
H A Dinternal.h47 #include <pulsecore/time-smoother.h>
218 pa_smoother_2 *smoother; member
220 pa_smoother *smoother; member
/third_party/pulseaudio/src/tests/
H A Dsmoother-test.c30 #include <pulsecore/time-smoother.h>
94 tc = tcase_create("smoother"); in main()
/third_party/pulseaudio/src/modules/bluetooth/
H A Dmodule-bluez5-device.c53 #include <pulsecore/time-smoother.h>
913 /* We don't resume the smoother here. Instead we in source_set_state_in_io_thread_cb()

Completed in 18 milliseconds