diff options
Diffstat (limited to 'pipewire-pulseaudio')
-rw-r--r-- | pipewire-pulseaudio/src/context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pipewire-pulseaudio/src/context.c b/pipewire-pulseaudio/src/context.c index 1c9f95a5..35414cec 100644 --- a/pipewire-pulseaudio/src/context.c +++ b/pipewire-pulseaudio/src/context.c @@ -995,6 +995,7 @@ static int metadata_property(void *object, } else if (key && strcmp(key, METADATA_DEFAULT_SOURCE) == 0) { val = value ? (uint32_t)atoi(value) : SPA_ID_INVALID; changed = c->default_source != val; + c->default_source = val; } if (changed) emit_event(global->context, global, PA_SUBSCRIPTION_EVENT_CHANGE); |