This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]