Well, I would have answered your question, but I personally don't have the answers you seek. For starters, I wouldn't use alsa for doing such things. I'd use Jack. <http://jackit.sf.net/> It's so much more flexible, powerful and easier to code for than straight alsa.
Having said that, your question involved using TWO devices, which I believe jack doesn't really support unless you're "bonding" them a la your .asoundrc file. (and even then, you'd really want to syncronize their clocks which most, if not all, consumer products don't support.) Assuming you don't care about clock synchronization, you could follow the examples at <http://www.suse.de/~mana/alsa090_howto.html>. Just open up one device for capture and the other for playback. When you receive data from one, pass it to the other. (and reading Paul's recent post on jack, apparently you can do what you want to do with jack.) d! On Tue, 2003-06-03 at 09:05, David Stuart wrote: > Apparently the ALSA community is too busy to answer my little questions, > this is the sadly the 3rd or 4th time I has posted to this list with no > answer. :( > > I don't think my question is too difficult. All I'm asking for is a > little help! Either a small snippet or a pointer to some other > information.. Maybe my question is too newbie-ish, but you can't develop > new experts without said experts being newbies at one time. > > > On Mon, 2003-06-02 at 16:01, David Stuart wrote: > > Does anyone have a short example of capturing from one device and doing > > a playback (of the captured data) on another?
signature.asc
Description: This is a digitally signed message part