On 9/22/07, klondike <[EMAIL PROTECTED]> wrote: > What I'm looking for is a virtual device which could output the sound > it gets as input, but I couldn't find a manner to do so using alsa. > > Is there a module which may allow me to do that? > If so, where can I find some documentation about it?
If I understand the question correctly, you're looking for the plugin that writes all of its input to a file. There are two in vaguely recent ALSA versions: tee and something else. Tee writes the output to a file but also sends it to the output device. 'file' or whatever the other one is just writes it to a file. I can't find my notes for using them, but if you search this mailing list for a post I made a few weeks ago, I gave an example usage of it. Or just do a google search for alsa tee. If you are instead looking to redirect the sound output to your application, then I don't know the deep ALSA magic required to make a capture device that feeds data off of a playback device, but you could probably use tee/file going to a named pipe to achieve the same result. Disclaimer: I am not an ALSA expert. In fact, I barely understand it at all. When I try, my head hurts, and I go do something else for a while. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user