mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
pulse: emit sink/source changes when pending
After we get the Route update, schedule subscription events when there are changes pending. When we scheduled a volume change ourselves, it is likely that nothing got changed by the route update but we still have to emit the subscription event to notify the new volume. Fixes #298
This commit is contained in:
parent
ec40702427
commit
2a0828e7a2
1 changed files with 2 additions and 3 deletions
|
|
@ -904,10 +904,9 @@ static void device_sync_ports(struct global *g)
|
|||
}
|
||||
if (props)
|
||||
changed += parse_props(ng, props, true);
|
||||
if (changed) {
|
||||
ng->changed += changed;
|
||||
ng->changed += changed;
|
||||
if (ng->changed)
|
||||
global_sync(ng);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue