Re: Reading from an output stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> Hi,
>
> I may be completely wrong, but my current understanding of ALSA is that it
> manages streams of data.  ALSA seems to sit between software and hardware, with
> streams passing through ("down" to hardware if playing sound, "up" from hardware
> if listening, for example).  I can use dmix to merge streams going "down" and
> dsnoop to merge streams going "up".
>
> But I can't work out how to make a stream loop back so that it enters and leaves
> on the same "side" of ALSA.  For example, if I have some software playing music
> from a file, I can route that down to hardware OK.  But I can't seem to route it
> back to software so that some other program can read it from ALSA in the same
> way that program would read, say, data coming in via a soundcard inputs.
>
> This seems absolutely basic, so I think I am missing something really obvious.
>
> One way of describing it would be an ALSA "loopback".
>
> How do I do this, please?
>
> Thanks,
> Andrew
>   
Hello,

I'm working on a project where I want to make an audio connection 
between two applications. My situation is very similar to Andrew. I 
would love to have two sound devices that are coupled so that if I play 
sound into one device, I can record it from the other device and vice 
versa. Is this possible with ALSA? I've looked at numerous .alsarc 
examples but I just can't seem to find and documentation on this subject.

I've read about the snd-aloop driver but that did n


Sorry for hijacking this post but it seemed more relevant to tack on to 
it than to start a new topic :)

Kind regards,
Benjamin van den Hout

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux