Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 4 Jun 2002 16:18:40 +0200 (CEST) From: Wojciech Puchar To: Corinna Vinschen cc: Subject: Re: sound emulation /dev/dsp In-Reply-To: <20020604132048.D1886@cygbert.vinschen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > > > 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/