Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Julian Bouzas
WirePlumber
Commits
ff9b4906
Commit
ff9b4906
authored
Nov 01, 2021
by
George Kiagiadakis
Browse files
default-routes.lua: add missing break in best route selection logic
Fixes #86
parent
0ee144a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripts/default-routes.lua
View file @
ff9b4906
...
...
@@ -266,6 +266,7 @@ function findBestRoute(dev_info, device_id)
if
ri
.
direction
==
"Output"
and
ri
.
available
~=
ri
.
prev_available
then
best_avail
=
ri
ri
.
save
=
true
break
elseif
ri
.
available
==
"yes"
then
if
(
best_avail
==
nil
or
ri
.
priority
>
best_avail
.
priority
)
then
best_avail
=
ri
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment