Bluetooth: Clicking Sounds in pavucontrol
Issue opened as discuessed here, I'll copy the conversation here for completeness.
@pvir I've tested v0.3.19 + the hfp backend native commits, and I have the following observations (Ubuntu 20.04):
- Works as expected: After switching profile to HSP/HFP, I can record sound via gnome-sound-recorder
- Not as expected: I hear clicking sounds in the headset, sco_source_cb() keeps loggin "read socket data 48" (even when I am not actively recording)
- Not as expected: dmesg shows "Bluetooth: hci0: SCO packet for unknown connection handle 0" (or handles 258/259/260/261)
Feedback re questions by @pvir: Q: Which Bluetooth adapter and model (check dmesg or lsusb)? dmesg: Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq lsusb: ID 8087:07dc Intel Corp. Headset: Soundcore Life P2
Q: Note that pavucontrol/gnome-control-center always record, since they display the microphone volume bar, perhaps you see that. Ah, makes sense, this is what triggers the "read socket data" log messages
Q: Are the clicks in the recorded audio, or appear in playback? The clicks are audible when pavucontrol is open (and records for purposes of the volume bar). No clicking when I close pavucontrol.
**Q: Try to play/record with pw-play and pw-record instead of g-s-r, does the problem still appear? ** No clicking when using pw-play and pw-record, also no clicking when using gnome-sound-recorder.
The SCO dmesg messages likely are harmless, they appear also for me.
Remark: After going through @pvir's question it's probably not the most pressing problem right now. I'll leave it here for completeness anyway.