summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2020-08-04 17:21:15 +0200
committerWim Taymans <wtaymans@redhat.com>2020-08-04 17:21:15 +0200
commit9edb0c1206e2639f7c3a80b069c10d0e39cdf218 (patch)
tree11210ff4c4f7ce5d2cd2e6e373838196cf1d82b2
parentdb12f47505ddccb257acdc0fa2bb884aceb1b593 (diff)
pulse: actually remember the default source
-rw-r--r--NEWS5
-rw-r--r--pipewire-pulseaudio/src/context.c1
2 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index a8747c07..d7ac0d82 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,8 @@ with previous 0.3.x releases.
+Older versions:
+
PipeWire 0.3.8
This is a bugfix release that is API and ABI compatible
@@ -80,9 +82,6 @@ with previous 0.3.x releases.
- Many build and stability fixes.
-Older versions:
-
-
PipeWire 0.3.7
This is a bugfix release that is API and ABI compatible
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);