mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
parent
67f4acaf1d
commit
310ed89aad
2 changed files with 10 additions and 3 deletions
|
|
@ -202,6 +202,8 @@ static void sink_info(pa_operation *o, void *userdata)
|
|||
pa_context *c = o->context;
|
||||
int error = 0;
|
||||
|
||||
pw_log_debug("%p name:%s idx:%u", c, d->name, d->idx);
|
||||
|
||||
if (d->name) {
|
||||
g = pa_context_find_global_by_name(c, PA_SUBSCRIPTION_MASK_SINK, d->name);
|
||||
pa_xfree(d->name);
|
||||
|
|
@ -211,8 +213,6 @@ static void sink_info(pa_operation *o, void *userdata)
|
|||
g = NULL;
|
||||
}
|
||||
|
||||
pw_log_debug("%p", c);
|
||||
|
||||
if (g) {
|
||||
error = sink_callback(c, g, d);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue