Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 22 Apr 2004 10:17:40 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Still no microphone support?
Message-ID: <20040422141740.GA1994@coe.bosbc.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <loom.20040422T095155-370@post.gmane.org> <Pine.GSO.4.56.0404220954440.4723@slinky.cs.nyu.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.56.0404220954440.4723@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Thu, Apr 22, 2004 at 09:56:02AM -0400, Igor Pechtchanski wrote:
>On Thu, 22 Apr 2004, Marcel Nijman wrote:
>
>> Hi,
>>
>> How can I read the microphone signal through cygwin?
>> Simply read()ing from /dev/dsp fails -- it doesn't seem to be implemented.
>> I found a post from as far back as 1999 asking the same question.
>> Is someone working on this?
>>
>> Kind regards, Marcel Nijman
>
>Quoting from src/winsup/cygwin/fhandler_dsp.cc:
>
>	void __stdcall
>	fhandler_dev_dsp::read (void *ptr, size_t& len)
>	{
>	  return;
>	}
>
>IOW, apparently not.  PTC.

That is probably 1.5.9.  There has been a lot of work done on this
by Gerd Spalink.  This function is now populated.

So, try a snapshot.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

