At Wed, 02 Aug 2006 21:31:18 +0400, Krivenok Dmitry wrote: > > > > -----Original Message----- > From: Takashi Iwai <tiwai@xxxxxxx> > To: Krivenok Dmitry <_asr_@xxxxxxxx> > Date: Wed, 02 Aug 2006 18:26:52 +0200 > Subject: Re: Virtual sound card > > > > > At Wed, 02 Aug 2006 16:16:03 +0400, > > Krivenok Dmitry wrote: > > > > > > Hello All! > > > > > > What is the simplest way to implement virtual sound card? > > > Special kernel module, which represents virtual device driver? Special plugin? > > > Or something else? > > > > How about JACK? > > > > We have already some alsa-lib plugins, such as file plugin. > > You can record a PCM stream to a file while using another real > > device. > > > > Yes, I know about file plugin. > It works fine with commands like this: > aplay -D file myfile.wav > > Unfortunately, I don't know how to use it with Skype (new version, which supports ALSA). > Skype supports real cards (e.g. my VIA8233) and virtual cards (e.g. dummy), i.e. > devices with ALSA interface. > But "file" isn't ALSA-device. So, skype checks only the devices of kernel drivers? And no way to edit it manually? Sigh, we really have to provide a good API for the device enumeration. > How to combine file plugin with alsa-device? Is it possible at all? It's hackish but possible. You can override "hw" and/or "plughw" definition as you like, such as pcm.!hw { type file slave.pcm { type hw card 0 } file "foo.out" } Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel