mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
context: fix @DEFAULT_SOURCE@ wildcard
This commit is contained in:
parent
4450ddadcf
commit
406b99c4c5
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ struct global *pa_context_find_global_by_name(pa_context *c, uint32_t mask, cons
|
|||
if (strcmp(name, "@DEFAULT_SINK@") == 0 || strcmp("@DEFAULT_MONITOR@", name) == 0)
|
||||
id = c->default_sink;
|
||||
else if (strcmp(name, "@DEFAULT_SOURCE@") == 0)
|
||||
id = c->default_sink;
|
||||
id = c->default_source;
|
||||
else
|
||||
id = atoi(name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue