summaryrefslogtreecommitdiffstats
path: root/.alsa/desktop-usb
diff options
context:
space:
mode:
authorEduardo Pedroni <e.pedroni91@gmail.com>2018-07-01 10:32:38 +0200
committerEduardo Pedroni <e.pedroni91@gmail.com>2018-07-01 10:32:38 +0200
commit5ded08bc3e3baf72563e49e5d5f8eb3daa36d2e7 (patch)
treec339ef35f0bda9079b05142733662f8ae1e421ed /.alsa/desktop-usb
parent0c5294e80f9c07a81ef23cca0807beae28170cf5 (diff)
Added ALSA config files for the desktop to support changing output dynamically, including software mixing for the USB audio card
Diffstat (limited to '.alsa/desktop-usb')
-rw-r--r--.alsa/desktop-usb12
1 files changed, 12 insertions, 0 deletions
diff --git a/.alsa/desktop-usb b/.alsa/desktop-usb
new file mode 100644
index 0000000..571e21c
--- /dev/null
+++ b/.alsa/desktop-usb
@@ -0,0 +1,12 @@
+# map default to dmixer virtual thingie (device?)
+pcm.!default plug:dmixer
+
+# do software mixing and output to slave hardware device (USB)
+pcm.dmixer {
+ type dmix
+ ipc_key 1024
+ slave {
+ pcm "hw:0,0"
+ }
+}
+