On Thu, 2004-04-22 at 14:44, Caleb Crome wrote:
> I'd like to create a dummy audio device that can record the PCM data 
> written to it into a file.  So, the dummy device would appear as a sound 
> card to the audio program (Real Player for example), and start dumping 

How about 'file' type plugin? For example:

pcm.file {
    type file
    slave {
        pcm "hw:0,0"
    }
    file "/tmp/file.raw"
}                                                                              
> audio into a file, or maybe it would create another device that could be 
> read simply by 'dd' or some custom command.  Then I'd pipe the data into 

It works with named pipes as well.

http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_file

Arek



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to