Pipewire reports wrong device.class on PinePhone
- PipeWire version (
pipewire --version
): PipeWire 0.3.43 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Manjaro ARM - Desktop Environment: Phosh
- Kernel version (
uname -r
): Kernel version 5.15.13-1-MANJARO-ARM
Description of Problem:
On the PinePhone when using PipeWire instead of PulseAudio we are having some troubles with automatically switching over between audio profiles.
We make use of Callaudiod to switch the audio input/output sources to route a phonecall properly, and to reset the audio route again after the phonecall has ended.
Callaudiod is using a specific device.class to filter out the audio sources, namely "device.class monitor"
On our device a "pactl list sources shows the alsa_output.platform-sound.HiFi__hw_PinePhone_0__sink.monitor is given the "device.class sound" instead of "device.class monitor" by Pipewire.
I checked the output of pactl list sources again with the use of PulseAudio, and can confirm that on regular PulseAudio this device.class is properly detected as "device.class monitor"
This is why I open up a bug report over here, as I expect from a drop-in replacement of PulseAudio that audio set-up would be handled in the exact same way.
Steps to Reproduce:
Just have PipeWire installed/used on PinePhone instead of PulseAudio
Actual Results:
alsa_output.platform-sound.HiFi__hw_PinePhone_0__sink.monitor is given the "device.class sound"
Expected Results:
alsa_output.platform-sound.HiFi__hw_PinePhone_0__sink.monitor should be given the "device.class monitor"
Additional Info (as attachments):
- Pipewire: pactl list sources dump
- PulseAudio: pactl list sources dump
- For additional information/discussion on this particular situation you can also look over at: callaudiod issue -18