This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem using /dev/dsp in Cygwin 1.3.2
- To: cygwin at cygwin dot com
- Subject: Re: Problem using /dev/dsp in Cygwin 1.3.2
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Thu, 24 May 2001 01:25:40 -0400
- References: <NFBBJHGBKLKEAOHMECHMGEDGCAAA.yrwang@cc.nctu.edu.tw>
- Reply-To: cygwin at cygwin dot com
On Thu, May 24, 2001 at 08:44:16AM +0800, Topas wrote:
>
>After I upgrade my system into cygwin-1.3.2
>(my system is Win98se)
>
>>cat sample.wav > /dev/dsp
>will fail. The error message is
>bash: xmalloc: cannot allocate 7299 bytes (0 bytes allocated)
>
>but
>> cp sample.wav /dev/dsp
>will works.
>
>There is not problem in snapshot-20010519,
>before change the s_audio into pointer in fhandler_dsp.cc
Thanks for the report. I've rectified this problem in the current
snapshot since it was due to code that I checked in.
It turned out that the addition of /dev/dsp code in cygwin 1.3.1 slowed
down the cygwin dll by more than 10% in some cases. This was due to the
initialization of a large buffer on every invocation of cygwin. I
changed the code to just initialize the buffer when /dev/dsp was
actually used but I forgot to accomodate stdout redirection.
It should be fixed now, though.
cgf
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple