summaryrefslogtreecommitdiff
path: root/.config/alsa
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2024-12-16 17:26:25 -0800
committerJoe Rayhawk <jrayhawk@fairlystable.org>2024-12-16 17:26:25 -0800
commit4b4b53022a8087a9d912a263fe197052c82877dd (patch)
tree99f50fa579e35e10e8fd076c43f060e24528cea7 /.config/alsa
parent19ca3b6a9a76ba3af4bc0e092e60e93159568e95 (diff)
downloadjrayhawk-dotfiles-4b4b53022a8087a9d912a263fe197052c82877dd.tar.gz
jrayhawk-dotfiles-4b4b53022a8087a9d912a263fe197052c82877dd.zip
alsa: add baldrick
Diffstat (limited to '.config/alsa')
-rw-r--r--.config/alsa/asoundrc3
-rw-r--r--.config/alsa/asoundrc-baldrick13
2 files changed, 16 insertions, 0 deletions
diff --git a/.config/alsa/asoundrc b/.config/alsa/asoundrc
index 5aceda9..82a32ea 100644
--- a/.config/alsa/asoundrc
+++ b/.config/alsa/asoundrc
@@ -94,6 +94,9 @@ pcm.btcar {
device 00:00:00:66:6F:73 # killed by voltage regulator
}
+# Note: dmix only works with hw pcms, not bluealsa. If dmixing is desired:
+# alsaloop -C hw:Loopback,1,0 -P bthome # or 1,1
+
pcm.bthome {
profile a2dp
#type bluetooth # old 1.0
diff --git a/.config/alsa/asoundrc-baldrick b/.config/alsa/asoundrc-baldrick
new file mode 100644
index 0000000..25bb1c6
--- /dev/null
+++ b/.config/alsa/asoundrc-baldrick
@@ -0,0 +1,13 @@
+pcm.!default unified
+#pcm.!default both # for OBS
+ctl.!default hw:PCH
+
+pcm.PrimaryPlayback {
+ type copy
+ slave.pcm "plug:dmix:PCH"
+}
+
+pcm.PrimaryCapture {
+ type copy
+ slave.pcm "plug:dsnoop:PCH"
+}