Hi,
I'm new to alsa and I'm trying to do the following. I have configured my rythm box to use the loopback device. I've written a little program to capture everything that comes on the other side of the loopback and save that into a file. If I play a song on rythm box I see actual packets on the couterside of the loopback however I save these packets in a file and try to play them back using my sound card I hear no sound. I use the following .asoundrc
pcm.loopplayback { type hw card 1 device 1 subdevice 0 }
pcm.loopcapture { type hw card 1 device 0 subdevice 0 }
pcm.play48 { type plug slave { pcm loopplayback rate 44100 channels 2 } }
attached is my test program to do the capturing. Anyone has any idea what I'm doing wrong ?
Kind regards
Erik