mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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:
parent
3c63f8e6dc
commit
37c72c2072
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue