summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/alsa/asoundrc9
-rw-r--r--.config/alsa/asoundrc-richardiv1
2 files changed, 6 insertions, 4 deletions
diff --git a/.config/alsa/asoundrc b/.config/alsa/asoundrc
index cf9ab5b..5aceda9 100644
--- a/.config/alsa/asoundrc
+++ b/.config/alsa/asoundrc
@@ -16,6 +16,7 @@ pcm.unified {
#playback.pcm "plug:both";
}
+# OBS: capture aloop, mpv --audio-device=alsa/both or aloop
pcm.both {
type plug
slave.pcm {
@@ -25,9 +26,9 @@ pcm.both {
slaves {
a.pcm "PrimaryPlayback"
#b.pcm "null"
- b.pcm "plug:dmix:Loopback"
- #b.pcm "plug:aloop"
+ b.pcm "aloop"
#c.pcm "null"
+ #c.pcm "bthome"
a.channels 2
b.channels 2
#c.channels 2
@@ -61,11 +62,12 @@ pcm.aloop {
capture.pcm {
# i don't know why i can't just plug:dsnoop:Loopback,1 here
type plug;
- slave.pcm "dsnoop:Loopback,1";
+ slave.pcm "dsnoop:Loopback,1";
}
playback.pcm "plug:dmix:Loopback";
}
+# extraneous test of subdev syntax
pcm.dsnoopaloop {
type dsnoop
ipc_key 98
@@ -75,7 +77,6 @@ pcm.dsnoopaloop {
period_size 1024;
}
}
-
pcm.dmixaloop {
type dmix
ipc_key 99
diff --git a/.config/alsa/asoundrc-richardiv b/.config/alsa/asoundrc-richardiv
index d012f5c..25bb1c6 100644
--- a/.config/alsa/asoundrc-richardiv
+++ b/.config/alsa/asoundrc-richardiv
@@ -1,4 +1,5 @@
pcm.!default unified
+#pcm.!default both # for OBS
ctl.!default hw:PCH
pcm.PrimaryPlayback {