Thursday, 2026-06-25

*** n2klb_ is now known as n2klb02:04
zhashaJun 25 15:12:51 lumiere kernel: btfm_slim_enable_ch: channel define - rates:8000, baser:1, ratem:213:26
zhashaThat would be why13:26
zhashaFound it, fixed it. I just had a call with mSBC BT audio my my 10 II. It's really stupid and presumably really simple to upstream.15:01
zhashaSet bt_wbs=on after BT_SCO=on15:01
zhashadbus-send --print-reply --type=method_call --address='unix:path=/run/user/100000/pulse/dbus-socket' --dest=org.SailfishOS.AudioSystemPassthrough /org/sailfishos/audiosystempassthrough org.SailfishOS.AudioSystemPassthrough.set_parameters string:bt_wbs=on15:01
malhmm15:37
malI remember looking at those parameters when updating pulseaudio15:37
malzhasha: how did you check that it was using mSBC?15:37
zhashaI used parecord to test it vs plain CVSD, the kernel reports a sample rate of 16kHz, PA's get-codec reports mSBC, it's a lot louder and the quality difference is immediately audible15:38
zhashawithout bt_wbs=on it still produces audio, but it's very low volume and garbled15:39
zhashapactl set-card-profile bluez_card.70_BF_92_D8_DF_0F handsfree_head_unit15:39
zhashapactl set-sink-port sink.primary_output output-sco_headset15:40
zhashapactl set-source-port source.droid input-bluetooth_sco_headset15:40
zhashadbus-send --print-reply --type=method_call --address='unix:path=/run/user/100000/pulse/dbus-socket' --dest=org.SailfishOS.AudioSystemPassthrough /org/sailfishos/audiosystempassthrough org.SailfishOS.AudioSystemPassthrough.set_parameters string:bt_wbs=on15:40
zhashastart recording or a call15:40
zhashaJun 25 16:49:21 lumiere kernel: btfm_slim_enable_ch: channel define - rates:16000, baser:1, ratem:415:40
zhashaCVSD https://joakim.sindho.lt/p/UO3DUvPmiW1MkvA1YOiJEU6lpL97Q60iNjBjEh9G9s8A.wav15:43
zhashamSBC https://joakim.sindho.lt/p/Z0zCCuHU7_ztW3gxqEmeNY35_DDMDufV-FqmPyuj7XDB.wav15:43
zhashamal: ^15:43
malhttps://github.com/mer-hybris/pulseaudio-modules-droid/blob/master/src/common/droid-util.c#L208015:44
malthat is where the BT_SCO is done, probably the conditional setting of bt_wbs=on needs to be added there, not sure yet how to detect which one to use15:44
zhashawell I'm on jb2q but basically the same https://github.com/mer-hybris/pulseaudio-modules-droid-jb2q/blob/master/src/common/droid-util.c#L200515:44
malyes, similar code there15:45
zhashaand yeah, I'm not sure how to detect it either15:45
zhashaI just wanted to report a working configuration15:45
zhashagot me a little bit excited :)15:45
malthanks for reporting15:45
zhashaI am in awe that you ever got this working15:46
malthat bt_wbs=on should possible to integrate quite easily, not sure about the other codecs15:46
malthere must be some way for those also, needs some more grepping if sources15:47
mal*of sources15:47
zhashafor HFP there's only CVSD and mSBC15:47
zhashaAptX, LDAC, LDHC, and so on are only for A2DP and those seem to be working just file15:48
malah15:48
malok15:48
zhashaI think once we figure out how to select bt_wbs=on/off we'll have everything working15:49
malyeah15:49
malsome audio hals have also bt_lc3_swb15:53
malnot sure if all15:53
zhashayeah that's the new thing15:55
zhashaI don't have any BT device that supports it, and it goes well beyond just a codec15:55
zhashathey're entirely eliminating A2DP and HFP/HSP, and replacing it all with LC315:55
maldoes pulseaudio support that?15:55
zhashanot that I know of, but PipeWire does15:56
malnothing shows up when grepping pulseaudio sources for lc315:56
zhasha<nephros_> https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/LE-Audio-+-LC3-support15:56
malah, so bt le audio15:57
zhashaSeriously, you guys put in a heroic effort to get this working. Genuinely, thank you. I don't know how you managed16:09
zhashaI'm wondering if output->sample_spec.rate has the necessary information18:20

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!