You are not logged in.

#1 2021-12-30 23:21:24

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

[SOLVED] Where can I find bluez-monitor.conf for pipewire?

On wiki in section:
Low_audio_quality_on_Bluetooth

There is advice to change Bluetooth codec.
And I can try

sbc aac ldac aptx aptx_hd

To change codec I should edit:

/etc/pipewire/media-session.d/bluez-monitor.conf

...
properties = {
  ...
  bluez5.codecs = [sbc]
...

I can't find bluez-monitor.conf anywhere in the system.
Wiki says that it should be located in:

A template for the configuration file can be copied from /usr/share/pipewire/media-session.d/bluez-monitor.conf

But in this directory I have only:
with-alsa  with-jack  with-pulseaudio

Last edited by 860lacov (2022-01-12 07:40:45)

Offline

#2 2021-12-31 00:01:25

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Where can I find bluez-monitor.conf for pipewire?

 $ pacman -F bluez-monitor.conf
extra/pipewire-media-session 1:0.4.1-1
    usr/share/pipewire/media-session.d/bluez-monitor.conf

Offline

#3 2021-12-31 08:19:18

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

Re: [SOLVED] Where can I find bluez-monitor.conf for pipewire?

2ManyDogs wrote:
 $ pacman -F bluez-monitor.conf
extra/pipewire-media-session 1:0.4.1-1
    usr/share/pipewire/media-session.d/bluez-monitor.conf

Thank you.

I have wireplumber and that's why I didn't have bluez-monitor
My pacman -Fy bluez-monitor.conf
gave me:

extra/pipewire-media-session 1:0.4.1-1
    usr/share/pipewire/media-session.d/bluez-monitor.conf

After that I started to search in /usr/share/wireplumber/

There is:
/usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua

Inside this file, I've found codec settings.


Just to be sure. There is:

-- LDAC encoding quality
      -- Available values: auto (Adaptive Bitrate, default)
      --                   hq   (High Quality, 990/909kbps)
      --                   sq   (Standard Quality, 660/606kbps)
      --                   mq   (Mobile use Quality, 330/303kbps)
      --["bluez5.a2dp.ldac.quality"] = "auto",

And if I want to change LDAC codec quality from auto to something else, then I should:
Copy
/usr/share/wireplumber/bluetooth.lua.d/50-bluez-config.lua
into
/etc/wireplumber/bluetooth.lua.d/50-bluez-config.lua

and edit this:

-- LDAC encoding quality
      -- Available values: auto (Adaptive Bitrate, default)
      --                   hq   (High Quality, 990/909kbps)
      --                   sq   (Standard Quality, 660/606kbps)
      --                   mq   (Mobile use Quality, 330/303kbps)
      ["bluez5.a2dp.ldac.quality"] = "hq",

So no dashes and auto changed to hq. Is that correct?



p.s.
I don't want to start similar topic.
Inside 50-bluez-config.lua there is:

bluez_monitor.properties = {
  -- These features do not work on all headsets, so they are enabled
  -- by default based on the hardware database. They can also be
  -- forced on/off for all devices by the following options:

  --["bluez5.enable-sbc-xq"] = true,
  --["bluez5.enable-msbc"] = true,
  --["bluez5.enable-hw-volume"] = true,

  -- See bluez-hardware.conf for the hardware database.

About this:
  -- See bluez-hardware.conf for the hardware database.
With pacman -F (or -Fy) I couldn't find bluez-hardware.conf

Last edited by 860lacov (2021-12-31 08:28:38)

Offline

Board footer

Powered by FluxBB