More than one /dev/dsp device?

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Apr 16 14:07:00 GMT 2007


Hi,

I'm wondering if anybody here might be interested to extend the
fhandler_dsp.cc code to allow more than one audio device, as in
/dev/dsp0, /dev/dsp1, etc.

Right now, fhandler_dsp.cc always opens "some" device which is capable
of the requested capabilities, using the WAVE_MAPPER flag, which is
typically the default audio device.  That's fine for systems with only
one audio device, but on systems having more than one audio device it
would be nice(tm) to be able to open a specific audio device explicitely
by opening /dev/dspX.  /dev/dsp could still simply open the default
device.

Anybody?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-developers mailing list