On Fri, 18 May 2007, Benjamin van den Hout wrote:
>>
>> 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.
I am sorry, but why is this "absolutely basic"? You already have the
information on the computer. routing it through alsa would seem to be a
perverse way of getting another copy of that computer.
>>
>> 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
Run a cable from the output of one sound card to the input of the other.
> 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
>
What is "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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
--
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273
Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324
UBC, Vancouver,BC | Program in Cosmology | [EMAIL PROTECTED]
Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user