mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-05 20:38:03 +02:00
device: find-preferred-profile: define device_name variable
Fixes: #751
This commit is contained in:
parent
e76ebde6d8
commit
4c07fd1da1
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ SimpleEventHook {
|
|||
|
||||
local p_json = Json.Raw(p_array)
|
||||
local priorities = p_json:parse()
|
||||
local device_name = device.properties["device.name"] or ""
|
||||
|
||||
for _, priority_profile in ipairs(priorities) do
|
||||
for p in device:iterate_params("EnumProfile") do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue