Unable to set an Audio/Duplex device as default source in pulse
Version, Distribution, Desktop Environment: On master version (c7ad443e), Arch Linux with LXQt
Description of Problem: After creating a Duplex node as described here, it is possible to direct pulse programs to play/record from this duplex, as well as to set it as the default sink, but impossible to set it as default source.
How Reproducible: Reliably reproducible
Steps to Reproduce:
$ pactl load-module module-null-sink object.linger=1 media.class=Audio/Duplex sink_name=tunnel
$ pactl set-default-source tunnel
- (Optional, to demonstrate it works on sink side)
$ pactl set-default-sink tunnel
$ parec > /dev/null
pw-dumpto check pipewire default metadata.
pacrec is recording from previous default device (hardware source) instead of the Duplex with name
pw-dump results, the default metadata (see attachment, line 738) has
tunnel as configured default audio source, but not actual default audio source.
pacrec should record from
tunnel duplex and
pw-dump should show
tunnel configured as actual default audio source.
Additional Info Eg.
pw-dump > file (As Attachment Please):