delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Thu, 24 May 2001 01:25:40 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem using /dev/dsp in Cygwin 1.3.2 |
Message-ID: | <20010524012540.A6322@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <NFBBJHGBKLKEAOHMECHMGEDGCAAA DOT yrwang AT cc DOT nctu DOT edu DOT tw> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.3.11i |
In-Reply-To: | <NFBBJHGBKLKEAOHMECHMGEDGCAAA.yrwang@cc.nctu.edu.tw>; from yrwang@cc.nctu.edu.tw on Thu, May 24, 2001 at 08:44:16AM +0800 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |