mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-06 03:38:02 +02:00
state-routes: use the correct device id when restoring route properties
Fixes: #551
This commit is contained in:
parent
7bd4032a28
commit
c5c5317599
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ store_or_restore_routes_hook = SimpleEventHook {
|
|||
string.format ("new active route(%s) found of device(%s)",
|
||||
route.name, dev_info.name))
|
||||
|
||||
selected_routes [tostring (device_id)] =
|
||||
selected_routes [tostring (route.device)] =
|
||||
Json.Object { index = route_info.index }:to_string ()
|
||||
push_select_routes = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue