This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

configs.gg23.audio: offer only sbc and aac as bluetooth sink codecs

A Pixel 9a with HD audio negotiated a high-quality codec, and WirePlumber
failed to create the bluez_input node ("mod.adapter: can't get format:
Invalid argument"), so no audio reached the hub and the phone retried
every second. With SBC it works. AAC decoding is available: the
nixpkgs pipewire bluez5 aac plugin links fdk-aac. sbc_xq shares the
sbc endpoint and has a decoder.

author
Hermes
committer
lassulus
date (Oct 17, 2026, 11:04 AM CEST) commit 489d1786 parent f23e9b6f
+9 -1
+9 -1
configs/gg23/audio/hub.nix
··· 141 141 # phones play into the hub: acheron is only an A2DP sink (no headset or 142 142 # LE audio roles), and the received stream targets "hub" 143 143 wireplumber.extraConfig."10-bluetooth-hub" = { 144 - "monitor.bluez.properties"."bluez5.roles" = [ "a2dp_sink" ]; 144 + "monitor.bluez.properties" = { 145 + "bluez5.roles" = [ "a2dp_sink" ]; 146 + # phones in HD audio mode pick other codecs, whose input node fails 147 + "bluez5.codecs" = [ 148 + "sbc" 149 + "sbc_xq" 150 + "aac" 151 + ]; 152 + }; 145 153 "monitor.bluez.rules" = [ 146 154 { 147 155 matches = [ { "node.name" = "~bluez_input.*"; } ];