2001-11-26 19:05:33

by Joseph Mathewson

[permalink] [raw]
Subject: Loopback sound driver?

Has anyone yet written a loopback sound driver, that is a module that provides a
"fake" /dev/dsp that will actually save sound to file on disk rather than
playing thru a hardware sound card. Or am I being stupid here? Is there some
/dev trick I can play?

If no such module exists, could a kind soul point me at sound module
documentation/API. I can find a lot of compatibility lists, but little
programming reference. Or is there a very simple sound card driver that could
be used as a starting point?

Thanks

Joe.

+-------------------------------------------------+
| Joseph Mathewson <[email protected]> |
+-------------------------------------------------+


2001-11-26 19:28:43

by Bill Jonas

[permalink] [raw]
Subject: [OT] Re: Loopback sound driver?

On Mon, Nov 26, 2001 at 07:02:06PM -0000, Joseph Mathewson wrote:
> Has anyone yet written a loopback sound driver, that is a module that
> provides a "fake" /dev/dsp that will actually save sound to file on
> disk rather than playing thru a hardware sound card.

No need for kernel support. Check out vsound. (Requires sox.) On
Debian, "apt-get install vsound".

http://www.zip.com.au/~erikd/vsound/

--
Bill Jonas * [email protected] * http://www.billjonas.com/

Developer/SysAdmin for hire! See http://www.billjonas.com/resume.html


Attachments:
(No filename) (554.00 B)
(No filename) (232.00 B)
Download all attachments

2001-11-27 11:10:12

by szonyi calin

[permalink] [raw]
Subject: Re: Loopback sound driver?

--- Joseph Mathewson <[email protected]> a ?crit :
> Has anyone yet written a loopback sound driver, that
> is a module that provides a
> "fake" /dev/dsp that will actually save sound to
> file on disk rather than
> playing thru a hardware sound card. Or am I being
> stupid here? Is there some
> /dev trick I can play?
>
> If no such module exists, could a kind soul point me
> at sound module
> documentation/API. I can find a lot of
> compatibility lists, but little
> programming reference. Or is there a very simple
> sound card driver that could
> be used as a starting point?
>
> Thanks
>
> Joe.
>
> +-------------------------------------------------+
> | Joseph Mathewson <[email protected]> |
> +-------------------------------------------------+
> -

Alsa ( http://www.alsa-project.org ) has a dummy sound
driver. Maybe it is usefull for you


__________________________________________________________
Obtenez votre adresse @yahoo.ca gratuite et en fran?ais !
courriel.yahoo.ca