Random profile switching when streams capture monitor ports of devices since 0.5.6
- Distribution: Arch Linux
- Desktop Environment: KDE Plasma 6.1.4
- PipeWire version: 1.2.3
- WirePlumber version: 0.5.6
Since version 0.5.6, streams trying to capture sinks cause WirePlumber to change their profile.
Using PipeWire's audio-capture.c
example:
- Make your default audio sink be a node that corresponds to a device
- Get audio-capture.c
- Uncomment line 155
- Compile:
gcc audio-capture.c $(pkg-config --cflags --libs libpipewire-0.3 libspa-0.2) -lm -o pwac
- Run
./pwac
In WirePlumber 0.5.6, the profile of the default sink is chagned once when the program starts capturing and once when it terminates.
In WirePlumber 0.5.5, the sink profile doesn't change.
Audio Output Capture (PulseAudio)
sources in OBS Studio also cause the same behavior.
Because of the profile switching the audio stops being outputted from the device for a bit.