diff options
-rw-r--r-- | src/pulsecore/source.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c index 8a527d8a9..ee774250d 100644 --- a/src/pulsecore/source.c +++ b/src/pulsecore/source.c @@ -2637,6 +2637,8 @@ int pa_source_set_port(pa_source *s, const char *name, bool save) { s->active_port = port; s->save_port = save; + pa_source_set_latency_offset(s, s->active_port->latency_offset); + pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_PORT_CHANGED], s); return 0; |