From 4b4b53022a8087a9d912a263fe197052c82877dd Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 16 Dec 2024 17:26:25 -0800 Subject: alsa: add baldrick --- .config/alsa/asoundrc | 3 +++ .config/alsa/asoundrc-baldrick | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .config/alsa/asoundrc-baldrick (limited to '.config/alsa') 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" +} -- cgit v1.2.3