summaryrefslogtreecommitdiff
path: root/.config/alsa
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2024-12-16 16:54:20 -0800
committerJoe Rayhawk <jrayhawk@fairlystable.org>2024-12-16 16:54:20 -0800
commit19ca3b6a9a76ba3af4bc0e092e60e93159568e95 (patch)
treee8acf7607d2be147f75ff2566ee9a73df42b1b09 /.config/alsa
parenteadbd6ade8b9efdb7909c4fa2ed2baad4dee35c1 (diff)
downloadjrayhawk-dotfiles-19ca3b6a9a76ba3af4bc0e092e60e93159568e95.tar.gz
jrayhawk-dotfiles-19ca3b6a9a76ba3af4bc0e092e60e93159568e95.zip
alsa: cleanup and notes
Diffstat (limited to '.config/alsa')
-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 {