mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 23:38:01 +02:00
Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
6002cea116
commit
8fa1693919
1 changed files with 4 additions and 3 deletions
|
|
@ -21,10 +21,11 @@ fm_plugin = nil
|
|||
function CreateMidiNode ()
|
||||
-- Midi properties
|
||||
local props = {}
|
||||
props["factory.name"] = "api.alsa.seq.bridge"
|
||||
for k, v in pairs(config.properties["alsa.midi.node-properties"]) do
|
||||
props[k] = v
|
||||
if type(config.properties["alsa.midi.node-properties"]) == "table" then
|
||||
props = config.properties["alsa.midi.node-properties"]
|
||||
end
|
||||
props["factory.name"] = "api.alsa.seq.bridge"
|
||||
props["node.name"] = props["node.name"] or "Midi-Bridge"
|
||||
|
||||
-- create the midi node
|
||||
local node = Node("spa-node-factory", props)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue