On Friday 05 October 2007 16:56:59 Luis Agustín Nieto wrote:
Hello Everyone,
We wish to undertake a new project for college (we are students of Computer
Science at University of Buenos Aires) and the idea is to develop a virtual
sound card driver which is capable of capturing the sound output generated
by any standard Linux application, in order to do something with these data
(for example dumping them to a file).
We are not sure about which level this driver should be implemented at. We
would like to avoid, when possible, any low level or hardware related
dealing. One approach that we've been considering is to write something at
the same level of ALSA or OSS (i.e. with the same API), which somehow could
be registered in the system and made available to the "client" app's as
another selectable sound system.
Probably ALSA would be the one to go for, as most modern software uses it.
We are a little confused about the Linux's sound
architecture and would
like to have some starting point to begin dealing with this project. We
would appreciate any help.
You might want to have a look at
http://www.craknet.net/joss/ to see how
someone wrote an app to capture OSS audio (in this case from Quake3) and pass
it out to Jack.
Gordon