| 1 | # Add a specific named PulseAudio pcm and ctl (typically useful for testing) |
| 2 | |
| 3 | pcm.pulse { |
| 4 | @args [ DEVICE ] |
| 5 | @args.DEVICE { |
| 6 | type string |
| 7 | default "" |
| 8 | } |
| 9 | type pulse |
| 10 | device $DEVICE |
| 11 | hint { |
| 12 | show { |
| 13 | @func refer |
| 14 | name defaults.namehint.basic |
| 15 | } |
| 16 | description "PulseAudio Sound Server" |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | ctl.pulse { |
| 21 | @args [ DEVICE ] |
| 22 | @args.DEVICE { |
| 23 | type string |
| 24 | default "" |
| 25 | } |
| 26 | type pulse |
| 27 | device $DEVICE |
| 28 | } |