This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: sound emulation /dev/dsp
- From: Wojciech Puchar <wojtek at chylonia dot 3miasto dot net>
- To: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- Cc: <cygwin at cygwin dot com>
- Date: Tue, 4 Jun 2002 16:18:40 +0200 (CEST)
- Subject: Re: sound emulation /dev/dsp
> >
> > what am i doing wrong?
>
> /dev/dsp only supports opening with O_WRONLY currently. So your
> open() fails due to the unsupported access mode O_RDWR.
>
> Unfortunately, errno isn't set to EACCES. I've fixed that for the
> next version.
>
> Thanks for the report,
> Corinna
nice - you made this sound support?
if fullduplex won't be supported - could you just point me to docs about
sound-related windoze calls.
i will do this through windoze calls. the problem is that i know nothing
about windoze programming and have no docs.
all i need is to open sound, set it to 8kHz fullduplex, 16-bit (or 8 if
hardware doesn't allow that), and then be able to do read and
write
thank you very much.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/