summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.alsa/desktop-pch14
-rw-r--r--.alsa/desktop-usb12
2 files changed, 26 insertions, 0 deletions
diff --git a/.alsa/desktop-pch b/.alsa/desktop-pch
new file mode 100644
index 0000000..fe0048c
--- /dev/null
+++ b/.alsa/desktop-pch
@@ -0,0 +1,14 @@
+# map default output to hardware card 1, device 0 (analog)
+pcm.!default {
+ type hw
+ card 1
+ device 0
+}
+
+# same for the controls (alsamixer)
+ctl.!default {
+ type hw
+ card 1
+ device 0
+}
+
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"
+ }
+}
+