diff --git a/system_files/deck/shared/etc/wireplumber/main.lua.d/60-alsa-acp5x-config.lua b/system_files/deck/shared/etc/wireplumber/main.lua.d/60-alsa-acp5x-config.lua new file mode 100644 index 00000000..c938af4f --- /dev/null +++ b/system_files/deck/shared/etc/wireplumber/main.lua.d/60-alsa-acp5x-config.lua @@ -0,0 +1,19 @@ +--ACP5X card hardware never hibernates, so remove the pops and lags. + +table.insert (alsa_monitor.rules, { + matches = { + { + -- Matches all sources from card acp5x + { "node.name", "matches", "alsa_input.*" }, + { "alsa.card_name", "matches", "acp5x" }, + }, + { + -- Matches all sinks from card acp5x + { "node.name", "matches", "alsa_output.*" }, + { "alsa.card_name", "matches", "acp5x" }, + }, + }, + apply_properties = { + ["session.suspend-timeout-seconds"] = 0, + } +})