From 19ca3b6a9a76ba3af4bc0e092e60e93159568e95 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 16 Dec 2024 16:54:20 -0800 Subject: alsa: cleanup and notes --- .config/alsa/asoundrc | 9 +++++---- .config/alsa/asoundrc-richardiv | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) (limited to '.config/alsa') 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 { -- cgit v1.2.3