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>
This commit is contained in:
Igor V. Kovalenko 2022-11-27 22:30:45 +03:00
parent 3c63f8e6dc
commit 37c72c2072

View file

@ -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;