You are not logged in.

#1 2024-10-14 21:30:15

860lacov
Member
Registered: 2020-05-02
Posts: 476

Bluetooth codec configuration in wireplumber/pipewire

Some time ago, I used Bluetooth configuration through wireplumber in Arch Linux. At that time, I set the codec to LDAC and several possible sampling frequencies. I believe that during the installation, there were configuration files somewhere in /usr/share/wireplumber that could be copied to appropriate directories such as /etc/wireplumber/... Recently, I had to reinstall the system and now wanted to repeat the configuration. However, I can't find those "sample" files that could be copied to /etc/... I found this on the Arch wiki:
Low audio quality on Bluetooth
and:
Changing the allowed sample rate(s) However, I'm not sure if I should configure these files, such as 51-bluez-config.lua, from scratch? I'd like to use aptx adaptive, but it seems it's currently not supported. Can you advise if I'm thinking correctly? Should I simply create a file:
/etc/wireplumber/bluetooth.lua.d/51-bluez-config.lua
And paste into it:

bluez_monitor.properties = {
  ["bluez5.enable-sbc-xq"] = true,
  ["bluez5.enable-msbc"] = true,
  ["bluez5.codecs"] = "[sbc sbc_xq]",
}

?
I'm not sure how to change the frequency.

Offline

#2 2024-10-15 09:54:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,094

Re: Bluetooth codec configuration in wireplumber/pipewire

lua configs are deprecated and will not work,  so you should just use /etc/wireplumber/bluetooth.lua.d/51-bluez-config.conf instead.

see https://pipewire.pages.freedesktop.org/ … properties for the correct properties/syntax

Offline

Board footer

Powered by FluxBB