mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-25 19:50:25 +01:00
config: bluez: add Opus encoding settings
This commit is contained in:
parent
200036c02b
commit
cafb048e70
1 changed files with 16 additions and 0 deletions
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue