From 85d89498f6aba955d997ad82b4fb23512ad1779c Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 28 Sep 2025 07:47:26 +0200 Subject: bluetooth audio config --- .config/pipewire/pipewire.conf.d/50-bitrate.conf | 5 +-- .../wireplumber/wireplumber.conf.d/50-bluez.conf | 5 +++ .../wireplumber.conf.d/50-disable-suspend.conf | 46 +++++++++++----------- 3 files changed, 31 insertions(+), 25 deletions(-) create mode 100644 .config/wireplumber/wireplumber.conf.d/50-bluez.conf diff --git a/.config/pipewire/pipewire.conf.d/50-bitrate.conf b/.config/pipewire/pipewire.conf.d/50-bitrate.conf index f7c4a93..bbf2c92 100644 --- a/.config/pipewire/pipewire.conf.d/50-bitrate.conf +++ b/.config/pipewire/pipewire.conf.d/50-bitrate.conf @@ -1,6 +1,5 @@ context.properties = { - default.clock.rate = 44100 - default.clock.allowed-rates = [ 44100, 48000, 96000 ] - default.clock.min-quantum = 16 + default.clock.rate = 96000 + default.clock.allowed-rates = [ 96000 ] } diff --git a/.config/wireplumber/wireplumber.conf.d/50-bluez.conf b/.config/wireplumber/wireplumber.conf.d/50-bluez.conf new file mode 100644 index 0000000..c957f73 --- /dev/null +++ b/.config/wireplumber/wireplumber.conf.d/50-bluez.conf @@ -0,0 +1,5 @@ +monitor.bluez.properties = { + bluez5.enable-msbc = false + bluez5.enable-cvsd = false + bluez5.default.rate = 96000 +} diff --git a/.config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf b/.config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf index d4eebbf..212afe6 100644 --- a/.config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf +++ b/.config/wireplumber/wireplumber.conf.d/50-disable-suspend.conf @@ -1,28 +1,30 @@ monitor.alsa.rules = [ - { - matches = [ - { node.name = "~alsa_input.*" } - { node.name = "~alsa_output.*" } - ] - actions = { - update-props = { - session.suspend-timeout-seconds = 0 - } - } - } + { + matches = [ + { node.name = "~alsa_input.*" } + { node.name = "~alsa_output.*" } + ] + actions = { + update-props = { + session.suspend-timeout-seconds = 0 + } + } + } ] monitor.bluez.rules = [ - { - matches = [ - { node.name = "~bluez_input.*" } - { node.name = "~bluez_output.*" } - ] - actions = { - update-props = { - session.suspend-timeout-seconds = 0 - } - } - } + { + matches = [ + { node.name = "~bluez_input.*" } + { node.name = "~bluez_output.*" } + ] + actions = { + update-props = { + audio.format = "S24_3LE" + audio.rate = 96000 + session.suspend-timeout-seconds = 0 + } + } + } ] -- cgit v1.2.3