Still no microphone support?

Igor Pechtchanski pechtcha@cs.nyu.edu
Thu Apr 22 14:17:00 GMT 2004


On 2004年4月22日, Igor Pechtchanski wrote:
> On 2004年4月22日, 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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_		igor@watson.ibm.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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /