Archives June 15, 2012

ALSA Loopback for Fun and Profit

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
    pcm "hw:Loopback{{spk}},0,0"
    rate 48000
    format S16_LE
pcm.monitor{{spk}}_snoop {
  type dsnoop
  ipc_key 68659{{spk}}
    pcm "hw:Loopback{{spk}},1,0" ...

Continue reading

Previous day

June 14, 2012

Next day

June 19, 2012