Default to a2dp ldac_hq codec for bluethooth headset and sound distorted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pulseaudio (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
I had some trouble getting my bluetooth headphones to work and I believe the culprit is the default codec that pulseaudio chooses. It appears to work ok when having no other Bluetooth devices connected, but when connecting a bluetooth mouse the audio gets distorted and begins to stutter. The offending codec is ldac_hq. I did some investigating today and found out you can change the codec in pavucontrol. Selecting ldac_sq seems to work without any issue.
I don't know what the problem with ldac_hq is, maybe bandwidth? Wasn't able to find any obvious problems in the logs, even when enabling debugging in bluez.
While investigating this I noticed others having the same issue, and it was difficult to find a way to change the codec, so maybe ldac_hq shouldn't be chosen as default?
Headphones: Sony WF-1000XM
Mouse: Logitech M590
Computer: https:/
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 27c6:5201 Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
Bus 001 Device 003: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 002: ID 13d3:56b9 IMC Networks USB2.0 HD UVC WebCam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
description: Bluetooth wireless interface
Ubuntu 22.04.1 LTS
pulseaudio: 1:15.99.
bluez: 5.64-0ubuntu1
pavucontrol: 5.0-2
Thank you for your bug report, could you also register the problem upstream on https:/ /gitlab. freedesktop. org/pulseaudio/ pulseaudio/ -/issues/ ? that's probably a better place to suggest a such change