delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/22/10:07:11

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 22 Apr 2004 10:06:45 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: Marcel Nijman <marcel AT mbfys DOT kun DOT nl>
Subject: Re: Still no microphone support?
In-Reply-To: <Pine.GSO.4.56.0404220954440.4723@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.56.0404221004460.4723@slinky.cs.nyu.edu>
References: <loom DOT 20040422T095155-370 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0404220954440 DOT 4723 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Thu, 22 Apr 2004, 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.
>         Igor

GRRR, that's what comes from not doing a "cvs update"...  I'm properly
embarrassed.

There is an implementation of read() in CVS HEAD.  There was also a thread
on cygwin-patches on this.  Try the latest snapshot -- it should work.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

- Raw text -


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