diff --git a/src/config/bluetooth.lua.d/50-bluez-config.lua b/src/config/bluetooth.lua.d/50-bluez-config.lua index d5727d31..181a85fc 100644 --- a/src/config/bluetooth.lua.d/50-bluez-config.lua +++ b/src/config/bluetooth.lua.d/50-bluez-config.lua @@ -37,6 +37,18 @@ bluez_monitor.properties = { -- Disable if you are running mpris-proxy or equivalent. --["bluez5.dummy-avrcp-player"] = true, + -- Opus Pro Audio mode settings + --["bluez5.a2dp.opus.pro.channels"] = 3, -- no. channels + --["bluez5.a2dp.opus.pro.coupled-streams"] = 1, -- no. joint stereo pairs, see RFC 7845 Sec. 5.1.1 + --["bluez5.a2dp.opus.pro.locations"] = "FL,FR,LFE", -- audio locations + --["bluez5.a2dp.opus.pro.max-bitrate"] = 600000, + --["bluez5.a2dp.opus.pro.frame-dms"] = 50, -- frame duration in 1/10 ms: 25, 50, 100, 200, 400 + --["bluez5.a2dp.opus.pro.bidi.channels"] = 1, -- same settings for the return direction + --["bluez5.a2dp.opus.pro.bidi.coupled-streams"] = 0, + --["bluez5.a2dp.opus.pro.bidi.locations"] = "FC", + --["bluez5.a2dp.opus.pro.bidi.max-bitrate"] = 160000, + --["bluez5.a2dp.opus.pro.bidi.frame-dms"] = 400, + -- Enable the logind module, which arbitrates which user will be allowed -- to have bluetooth audio enabled at any given time (particularly useful -- if you are using GDM as a display manager, as the gdm user also launches @@ -83,6 +95,10 @@ bluez_monitor.rules = { -- Profile connected first -- Available values: a2dp-sink (default), headset-head-unit --["device.profile"] = "a2dp-sink", + + -- Opus Pro Audio encoding mode: audio, voip, lowdelay + --["bluez5.a2dp.opus.pro.application"] = "audio", + --["bluez5.a2dp.opus.pro.bidi.application"] = "audio", }, }, {