Archives June 15, 2012
ALSA Loopback for Fun and Profit
Written by
on
.
So I finally got the ALSA loopback working with gstreamer. Key is to use ALSA's plugs to get the right format on both sides of the capture:
{% for spk in cards %}
pcm.spk{{spk}} {
type plug
slave{
pcm "hw:Loopback{{spk}},0,0"
rate 48000
format S16_LE
}
}
pcm.monitor{{spk}}_snoop {
type dsnoop
ipc_key 68659{{spk}}
slave{
pcm "hw:Loopback{{spk}},1,0" ...