summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wireplumber/wireplumber.conf.d/alsa-vm.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/wireplumber/wireplumber.conf.d/alsa-vm.conf b/wireplumber/wireplumber.conf.d/alsa-vm.conf
new file mode 100644
index 0000000..22ca815
--- /dev/null
+++ b/wireplumber/wireplumber.conf.d/alsa-vm.conf
@@ -0,0 +1,17 @@
+# ALSA node property overrides for HDMI output
+
+monitor.alsa.rules = [
+ # Generic PCI cards on any VM type
+ {
+ matches = [
+ { node.name = "~alsa_output.*" }
+ ]
+ actions = {
+ update-props = {
+ audio.format = "S16LE"
+ audio.channels = 2
+ audio.position = "FR,FL"
+ }
+ }
+ }
+]