delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/04/14:33:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.1.0.14.0.20020604134544.02e85280@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
Date: Tue, 04 Jun 2002 13:49:37 -0400
To: cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: sound emulation /dev/dsp
In-Reply-To: <20020604183109.M30892@cygbert.vinschen.de>
References: <Pine DOT NEB DOT 4 DOT 33 DOT 0206041616330 DOT 6483-100000 AT chylonia DOT 3miasto DOT net>
<20020604132048 DOT D1886 AT cygbert DOT vinschen DOT de>
<Pine DOT NEB DOT 4 DOT 33 DOT 0206041616330 DOT 6483-100000 AT chylonia DOT 3miasto DOT net>
Mime-Version: 1.0

At 12:31 PM 6/4/2002, Corinna Vinschen wrote:
>On Tue, Jun 04, 2002 at 04:18:40PM +0200, Wojciech Puchar wrote:
>> > >
>> > > 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?
>
>No, I didn't.  The original author for some reason disappeared
>w/o further notice.  We're just trying to avoid bit rot but
>nobody in the current developer group is actively working or
>even maintaining the dsp code.
>
>> if fullduplex won't be supported - could you just point me to docs about
>> sound-related windoze calls.
>
>Sorry, I'm a multimedia disabled person.  Somebody else will have
>to step in here.  OTOH, discussing basic Windows sound support is
>somewhat off-topic here...


Right.  I suggest going to msdn.microsoft.com and looking at the docs
available in the MSDN library.  That, perhaps coupled with the code 
that implements /dev/dsp in Cygwin should be enough to get one started
on the basics of sound support.  But let's keep any further discussion of
this subject here Cygwin specific, OK?

BTW, I'm not directing my reply at Corinna, in case it's not clear. ;-)





Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019