mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 21:32:48 +00:00
feat(deck): Add new improved audio configs
This commit is contained in:
parent
84f685fd20
commit
b1640effac
@ -1,6 +1,23 @@
|
|||||||
bluez_monitor.properties = {
|
bluez_monitor.properties = {
|
||||||
|
-- we only want these audio profiles:
|
||||||
|
-- 0000110a-0000-1000-8000-00805f9b34fb Audio Source
|
||||||
|
-- 0000110b-0000-1000-8000-00805f9b34fb Audio Sink
|
||||||
|
-- 0000110d-0000-1000-8000-00805f9b34fb Advanced Audio Distribution
|
||||||
|
["bluez5.roles"] = "[ a2dp_sink a2dp_source ]",
|
||||||
|
|
||||||
|
-- And only this one headset related profile:
|
||||||
|
-- 00001112-0000-1000-8000-00805f9b34fb Headset
|
||||||
|
-- disabled: 00001108-0000-1000-8000-00805f9b34fb hsp_hs
|
||||||
|
-- disabled: 0000111e-0000-1000-8000-00805f9b34fb hfp_hs
|
||||||
|
-- disabled: 0000111f-0000-1000-8000-00805f9b34fb hfp_ag
|
||||||
|
-- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> * <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
-- NOTE: check hfphsp-backend below as that also affects hs/hf profiles
|
||||||
|
-- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> * <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||||
|
["bluez5.headset-roles"] = "[ hsp_ag ]",
|
||||||
|
|
||||||
-- HFP/HSP backend (default: native).
|
-- HFP/HSP backend (default: native).
|
||||||
-- Available values: any, none, hsphfpd, ofono, native
|
-- Available values: any, none, hsphfpd, ofono, native
|
||||||
|
-- setting this to "none" disables all headset roles
|
||||||
["bluez5.hfphsp-backend"] = "none",
|
["bluez5.hfphsp-backend"] = "none",
|
||||||
|
|
||||||
-- Disable dummy AVRCP player
|
-- Disable dummy AVRCP player
|
||||||
|
@ -7,13 +7,42 @@ table.insert (alsa_monitor.rules, {
|
|||||||
{ "node.name", "matches", "alsa_input.*" },
|
{ "node.name", "matches", "alsa_input.*" },
|
||||||
{ "alsa.card_name", "matches", "acp5x" },
|
{ "alsa.card_name", "matches", "acp5x" },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
-- Matches all sources from card acp6x
|
||||||
|
{ "node.name", "matches", "alsa_input.*" },
|
||||||
|
{ "alsa.card_name", "matches", "acp6x" },
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
-- Matches all sources from SOF drivers
|
||||||
|
{ "node.name", "matches", "alsa_input.*" },
|
||||||
|
{ "alsa.card_name", "matches", "sof-nau8821-max" },
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
-- Matches all sinks from card acp5x
|
-- Matches all sinks from card acp5x
|
||||||
{ "node.name", "matches", "alsa_output.*" },
|
{ "node.name", "matches", "alsa_output.*" },
|
||||||
{ "alsa.card_name", "matches", "acp5x" },
|
{ "alsa.card_name", "matches", "acp5x" },
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
-- Matches all sinks from card acp6x
|
||||||
|
{ "node.name", "matches", "alsa_output.*" },
|
||||||
|
{ "alsa.card_name", "matches", "acp6x" },
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
-- Matches all sinks from card acp6x
|
||||||
|
{ "node.name", "matches", "alsa_output.*" },
|
||||||
|
{ "alsa.card_name", "matches", "sof-nau8821-max" },
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
apply_properties = {
|
apply_properties = {
|
||||||
["session.suspend-timeout-seconds"] = 0,
|
["session.suspend-timeout-seconds"] = 0,
|
||||||
|
["api.alsa.headroom"] = 1024,
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user