bluetooth: distorted sound when allowed-rates is customized
- PipeWire version:
0.3.77
- Distribution and distribution version:
PLD 3.0
- Desktop Environment:
sway
- Kernel version:
6.4.8
- BlueZ version:
5.68
- Bluetooth devices:
Galaxy Buds2 (42B7)
D50s
- wireplumber version:
0.4.14
- arch:
aarch64
Description of Problem:
Tried my Galaxy Buds2 with a laptop after a long break from experimenting with bluetooth audio and noticed that sound (44100
sample rate of source) is very distorted. The laptop is normally hooked into USB DAC (D50s) so default.clock.allowed-rates
was customized. Played a little and noticed that:
- leaving only
48000
ondefault.clock.allowed-rates
list "fixes" the issue - with both
44100
and48000
ondefault.clock.allowed-rates
, playing48000
source file followed by44100
file then both are fine
So it seems like resampling to 48000
is not enforced while it should be?
Tested with both Galaxy Buds2 and D50s (bluetooth input) and outcome is the same.
How Reproducible:
Always.
Steps to Reproduce:
- Set
default.clock.allowed-rates = [ 44100 48000 ]
- Connect bluetooth output
- Play file with sample rate of
44100
Actual Results:
Distorted sound.
Expected Results:
Normal sound.pw-dump.log