195:b4c64636c596
Anton Shestakov <av6@dwimlabs.net>, 2020-06-26
.asoundrc: capturing desktop audio with ALSA

next change 212:f5b235eee660

.asoundrc

Permissions: -rw-r--r--

Other formats: Feeds:
195
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
# modprobe snd-aloop id=Loopback pcm_substreams=1 timer_source=Generic
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
pcm.desktop {
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
type plug
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
slave.pcm "dsnoop:CARD=Loopback,DEV=1"
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
}
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
pcm.splitter {
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
type plug
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
slave.pcm {
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
type multi
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
slaves {
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
a { channels 2 pcm "dmix:CARD=Generic,DEV=0" }
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
b { channels 2 pcm "dmix:CARD=Loopback,DEV=0" }
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
}
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
bindings {
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
0 { slave a channel 0 }
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
1 { slave a channel 1 }
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
2 { slave b channel 0 }
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
3 { slave b channel 1 }
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
}
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
}
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
route_policy "duplicate"
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
}
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
pcm.!default {
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
type asym
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
playback.pcm "splitter"
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
capture.pcm {
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
type plug
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
slave.pcm "dsnoop:CARD=Generic,DEV=0"
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
}
195:b4c64636c596 .asoundrc: capturing desktop audio with ALSA
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
}