[alsa-devel] Problems capturing and playback via the loopback device
Erik Kazandjian
erik.kazandjian at gmail.com
Fri Jan 18 07:41:15 CET 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test4.c
Type: text/x-csrc
Size: 2473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20130118/5ca5de25/attachment.bin>
More information about the Alsa-devel
mailing list