2017-10-19 11:55:36 +02:00
|
|
|
# Add a specific named PipeWire pcm
|
|
|
|
|
|
2018-01-12 15:46:16 +01:00
|
|
|
defaults.pipewire.server "pipewire-0"
|
2018-10-10 18:21:53 +02:00
|
|
|
defaults.pipewire.node "-1"
|
|
|
|
|
defaults.pipewire.exclusive false
|
2018-01-12 15:46:16 +01:00
|
|
|
|
2017-10-19 11:55:36 +02:00
|
|
|
pcm.pipewire {
|
2018-10-10 18:21:53 +02:00
|
|
|
@args [ SERVER NODE EXCLUSIVE ]
|
2018-01-12 15:46:16 +01:00
|
|
|
@args.SERVER {
|
|
|
|
|
type string
|
|
|
|
|
default {
|
|
|
|
|
@func refer
|
|
|
|
|
name defaults.pipewire.server
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@args.NODE {
|
|
|
|
|
type string
|
|
|
|
|
default {
|
|
|
|
|
@func refer
|
|
|
|
|
name defaults.pipewire.node
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-10-10 18:21:53 +02:00
|
|
|
@args.EXCLUSIVE {
|
|
|
|
|
type integer
|
|
|
|
|
default {
|
|
|
|
|
@func refer
|
|
|
|
|
name defaults.pipewire.exclusive
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-01-12 15:46:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
type pipewire
|
|
|
|
|
server $SERVER
|
|
|
|
|
playback_node $NODE
|
2018-10-10 18:21:53 +02:00
|
|
|
capture_node $NODE
|
|
|
|
|
exclusive $EXCLUSIVE
|
2018-01-12 15:46:16 +01:00
|
|
|
hint {
|
|
|
|
|
show on
|
|
|
|
|
description "PipeWire Sound Server"
|
|
|
|
|
}
|
2017-10-19 11:55:36 +02:00
|
|
|
}
|