On Sun, 29 Feb 2004, Florian Schmidt wrote: > > Hi, > > i wonder if there's a pcm plugin available, that is writeable and also > readable in a sense that everything that is written to it, will be > readable again. this could be useful for recording alsa app output if > the hw does not support capturing the line-out or mix. > > Let's call this plugin "redirect" for now. > > .asoundrc: > > pcm.redirector { > type redirect > # we don't need a slave, since this is purely virtual > } > > pcm.mymulti { > type multi > # here we combine "redirector" and "hw:0,0" into one device. too lazy > to look up the syntax > } > > pcm.sniffable { > type route > slave.pcm "mymulti" > slave.channels 4 > ttable.0.0 1 > ttable.1.1 1 > ttable.0.2 1 > ttable.1.3 1 > } > > now, when i do > > aplay -D plug:sniffable > > i should be able to hear the playback and record that stuff by using > > arecord -D plug:redirector > > I know there exists the file plugin, but i think using a recording app > for this is more convenient.. Is this possible and is this feasible? and > did i maybe just miss something in the pcm plugins docs and it already > works?
It's possible, of course, but nobody has written such plugins yet. I think that we can reuse some ideas/implementation from direct plugins (dmix, dshare, dsnoop) here. Jaroslav ----- Jaroslav Kysela <[EMAIL PROTECTED]> Linux Kernel Sound Maintainer ALSA Project, SuSE Labs ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user