Problem using /dev/dsp in Cygwin 1.3.2

Christopher Faylor cgf@redhat.com
Wed May 23 22:25:00 GMT 2001


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


More information about the Cygwin mailing list

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