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





-------------------------------------------------------------------------
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