Created
January 12, 2022 01:07
-
-
Save tonitch/f7fe84520cbc7378af8f4232e99d8e8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add a specific named PipeWire pcm | |
| defaults.pipewire.server "pipewire-0" | |
| defaults.pipewire.node "-1" | |
| defaults.pipewire.exclusive false | |
| defaults.pipewire.role "" | |
| pcm.pipewire { | |
| @args [ SERVER NODE EXCLUSIVE ROLE ] | |
| @args.SERVER { | |
| type string | |
| default { | |
| @func refer | |
| name defaults.pipewire.server | |
| } | |
| } | |
| @args.NODE { | |
| type string | |
| default { | |
| @func refer | |
| name defaults.pipewire.node | |
| } | |
| } | |
| @args.EXCLUSIVE { | |
| type integer | |
| default { | |
| @func refer | |
| name defaults.pipewire.exclusive | |
| } | |
| } | |
| @args.ROLE { | |
| type string | |
| default { | |
| @func refer | |
| name defaults.pipewire.role | |
| } | |
| } | |
| type pipewire | |
| server $SERVER | |
| playback_node $NODE | |
| capture_node $NODE | |
| exclusive $EXCLUSIVE | |
| role $ROLE | |
| hint { | |
| show on | |
| description "PipeWire Sound Server" | |
| } | |
| } | |
| ctl.pipewire { | |
| @args.SERVER { | |
| type string | |
| default { | |
| @func refer | |
| name defaults.pipewire.server | |
| } | |
| } | |
| type pipewire | |
| server $SERVER | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment