diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2022-11-27 22:30:45 +0300 |
---|---|---|
committer | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2022-11-27 22:31:51 +0300 |
commit | 37c72c20720d6f7fefeeb151f5e10c2cd0dda30e (patch) | |
tree | 2be18812f040f3b85200f513867ea311f0c6d671 | |
parent | 3c63f8e6dca855177d9fb75b735976ff3c7a88fb (diff) | |
download | pulseaudio-37c72c20720d6f7fefeeb151f5e10c2cd0dda30e.tar.gz |
module-combine-sink: Do not set up rate adjustment timer at load time
Rate adjustment timer is set up when combine sink is resumed and relased when
combine sink is suspended. Do not create this timer again while module is loaded
to prevent duplicate effort causing assertion in time_callback.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/756>
-rw-r--r-- | src/modules/module-combine-sink.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/module-combine-sink.c b/src/modules/module-combine-sink.c index f98f4820b..4b7690183 100644 --- a/src/modules/module-combine-sink.c +++ b/src/modules/module-combine-sink.c @@ -1711,9 +1711,6 @@ int pa__init(pa_module*m) { PA_IDXSET_FOREACH(o, u->outputs, idx) output_verify(o); - if (u->adjust_time > 0) - u->time_event = pa_core_rttime_new(m->core, pa_rtclock_now() + u->adjust_time, time_callback, u); - pa_modargs_free(ma); return 0; |