mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pulse: actually remember the default source
This commit is contained in:
parent
db12f47505
commit
9edb0c1206
2 changed files with 3 additions and 3 deletions
5
NEWS
5
NEWS
|
|
@ -36,6 +36,8 @@ with previous 0.3.x releases.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Older versions:
|
||||||
|
|
||||||
PipeWire 0.3.8
|
PipeWire 0.3.8
|
||||||
|
|
||||||
This is a bugfix release that is API and ABI compatible
|
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.
|
- Many build and stability fixes.
|
||||||
|
|
||||||
|
|
||||||
Older versions:
|
|
||||||
|
|
||||||
|
|
||||||
PipeWire 0.3.7
|
PipeWire 0.3.7
|
||||||
|
|
||||||
This is a bugfix release that is API and ABI compatible
|
This is a bugfix release that is API and ABI compatible
|
||||||
|
|
|
||||||
|
|
@ -995,6 +995,7 @@ static int metadata_property(void *object,
|
||||||
} else if (key && strcmp(key, METADATA_DEFAULT_SOURCE) == 0) {
|
} else if (key && strcmp(key, METADATA_DEFAULT_SOURCE) == 0) {
|
||||||
val = value ? (uint32_t)atoi(value) : SPA_ID_INVALID;
|
val = value ? (uint32_t)atoi(value) : SPA_ID_INVALID;
|
||||||
changed = c->default_source != val;
|
changed = c->default_source != val;
|
||||||
|
c->default_source = val;
|
||||||
}
|
}
|
||||||
if (changed)
|
if (changed)
|
||||||
emit_event(global->context, global, PA_SUBSCRIPTION_EVENT_CHANGE);
|
emit_event(global->context, global, PA_SUBSCRIPTION_EVENT_CHANGE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue