Compare commits

...
Author SHA1 Message Date
Dylan Van Assche c983065385 soc-qcom-sdm845: fix PipeWire for SDM845
S16LE is only working for SDM845, suspend must be disabled for call audio. Press vol key during a call to wake them up and then they stay awake
2023-05-05 17:18:55 +02:00
@@ -0,0 +1,35 @@
-- PipeWire's S24LE default audio format is broken in the kernel driver
table.insert(alsa_monitor.rules,
{
matches = {
{
{ "node.name", "matches", "alsa_output.*.HiFi__hw_SHIFT6mq_*__sink" },
},
{
{ "node.name", "matches", "alsa_input.*.HiFi__hw_SHIFT6mq_*__source" },
},
},
apply_properties = {
["audio.format"] = "S16LE",
},
}
)
-- Disable suspend for Voice Call devices
table.insert(alsa_monitor.rules,
{
matches = {
{
{ "node.name", "matches", "alsa_output.*.Voice_Call__hw_SHIFT6mq_*__sink" },
},
{
{ "node.name", "matches", "alsa_input.*.Voice_Call__hw_SHIFT6mq_*__source" },
},
},
apply_properties = {
["audio.format"] = "S16LE",
["session.suspend-timeout-seconds"] = 0,
},
}
)