mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-06-18 07:08:24 +02:00
device/state-routes.lua: fix finding stored routes
This wrongly stored the matched route in a new variable instead of the locally declared variable it supposed to use.
This commit is contained in:
parent
7eb6ff3b9e
commit
760ce55de1
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ find_stored_routes_hook = SimpleEventHook {
|
|||
if cutils.arrayContains (ri.devices, tonumber (device_id)) and
|
||||
(ri.profiles == nil or cutils.arrayContains (ri.profiles, dev_info.active_profile)) and
|
||||
cutils.arrayContains (spr, ri.name) then
|
||||
route = ri
|
||||
route_info = ri
|
||||
break
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue