regression(pipewire-pulse): unable to open monitor source devices as of 0.3.77
I'm seeing errors attempting to open monitor devices via SDL2 on pipewire-pulse-0.3.77 and newer. The the monitor devices appear in the list of sources, but when trying to open them by name, sdl2 fails with "Requested PulseAudio sink/source missing?"
The failure first appears on pipewire-pulse-0.3.77. Downgrading to pipewire-pulse-0.3.76 allowed monitor devices to be opened again. Given this, I assume the regression is via this commit, looks related going by how it mentions naming of monitor devices?
For example, sdl2 could return a list of devices like this:
- "Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones"
- "Tiger Lake-LP Smart Sound Technology Audio Controller Headset Mono Microphone + Headphones Stereo Microphone"
- "Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone"
Trying to then open the source device named "Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones" fails on 0.3.77 (and newer), succeeds on 0.3.76 (and older).
I've been able to repro this across two machines, so it doesn't seem to be specific to the hardware. On one of them, I switched back to stock pulseaudio which also allowed Monitor devices to be opened again.