running pavucontrol keeps pipewire appear that it records from the connected bluetooth headset
I have a multipoint enabled headset Sony WH-1000XM4 that is connected to both my phone and my laptop. Both devices are configured to use A2DP profile. When pavucontrol is running, I'm not able to play music from my phone. The app shows that the music is being played, but there is no sound in the headphones. The phones have the app that shows what of the 2 connected hosts is playing now. And it shows that my laptop is playing. There is no sink active. I raised the issue in pipewire initially where I provided all the details. The latest tests I did showed that it was the pavucontrol that kept the pipewire busy when playing no sound at all. the excerpt from the pw-dump:
{
"id": 184,
"type": "PipeWire:Interface:Node",
"version": 3,
"permissions": [ "r", "w", "x", "m" ],
"info": {
"max-input-ports": 64,
"max-output-ports": 0,
"change-mask": [ "input-ports", "output-ports", "state", "props", "params" ],
"n-input-ports": 2,
"n-output-ports": 2,
"state": "running",
"error": null,
"props": {
"client.api": "pipewire-pulse",
"pulse.server.type": "unix",
"application.name": "PulseAudio Volume Control",
"application.id": "org.PulseAudio.pavucontrol",
"application.icon-name": "audio-card",
"application.version": 5.000000,
"application.process.id": 1243699,
"application.process.user": "anton",
"application.process.host": "PF16W6Y2",
"application.process.binary": "pavucontrol",
"application.language": "en_US.utf8",
"window.x11.display": ":0",
"application.process.machine-id": "2c7f8e45cda78c341d153c0f5bc203b4",
"media.name": "Peak detect",
"node.rate": "1/25",
"stream.monitor": true,
"node.target": 55,
"target.object": 56,
"stream.is-live": true,
"node.name": "PulseAudio Volume Control",
"node.autoconnect": true,
"node.dont-reconnect": true,
"media.class": "Stream/Input/Audio",
"resample.peaks": true,
"channelmix.normalize": true,
"adapt.follower.node": "",
"object.register": false,
"factory.id": 6,
"audio.adapt.follower": "",
"factory.mode": "merge",
"library.name": "audioconvert/libspa-audioconvert",
"clock.quantum-limit": 8192,
"client.id": 111,
"object.id": 184,
"object.serial": 1437,
"node.latency": "1/25",
"pulse.attr.maxlength": 4194304,
"pulse.attr.fragsize": 4
},
As soon as I close the pavucontrol app, the phone is able to resume normal playback thru the headphones.