X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=wmIocXnvPysd7AOvoS6PFsExAIQZ/UyuTOjChWosaTe
	Tap0bd6D513BnfOWH/5K/M9H5DmmC2yAU+gfMZ8jfA5qnZtxRPVQQygP2sq2oMLs
	v90k2Nmkl6TJYqjhapdwf27lJEevzp+NFMRbZWKKvQDpDEK0Yag9ZRbfityyYjiU
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=sfxrs2b8TYYGJSRNdcGdht6y11k=; b=bcpP0IO4P+4m5eug5
	+ZvgxrnHiHsAUDYK6jkl9geHqgvfLD6Apcdt3LY07sKZiVBm/pSBwTEzfpQqFDSL
	v/GiL9KKqWUwcVHGbVOqlxosXQ/UBv+r7xY9OIJAluJedoa9N+S+znW1rxKVkYGT
	BtpK1S7vMayc7gFZASY9RVJ2q4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,SPF_PASS autolearn=no version=3.3.2
X-HELO: out.ipsmtp4nec.opaltelecom.net
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApMBAEz6KVNPRt6a/2dsb2JhbAANTcNOgwYJgTKDGQEBAQQ4UQsYCSUPAkYTCAEBtFCjPReObBaEIgSUXAWZQw
X-IPAS-Result: ApMBAEz6KVNPRt6a/2dsb2JhbAANTcNOgwYJgTKDGQEBAQQ4UQsYCSUPAkYTCAEBtFCjPReObBaEIgSUXAWZQw
Message-ID: <5329FA98.50203@tiscali.co.uk>
Date: Wed, 19 Mar 2014 20:14:16 +0000
From: David Stacey <drstacey@tiscali.co.uk>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: sox - package is broken
References: <5324E98D.2090806@tiscali.co.uk> <20140316114332.GB400@calimero.vinschen.de> <5326276F.1050103@tiscali.co.uk> <20140317015736.GA8086@ednor.casa.cgf.cx> <20140317022829.GB8086@ednor.casa.cgf.cx> <20140317044230.GA1235@ednor.casa.cgf.cx> <53278AE6.9040509@tiscali.co.uk> <20140318175353.GA1051@ednor.casa.cgf.cx> <53289E8A.1010601@tiscali.co.uk> <20140318193218.GA4530@ednor.casa.cgf.cx> <20140318231653.GA6466@ednor.casa.cgf.cx>
In-Reply-To: <20140318231653.GA6466@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 18/03/2014 23:16, Christopher Faylor wrote:
> On Tue, Mar 18, 2014 at 03:32:18PM -0400, Christopher Faylor wrote:
>> Ok.  I see a SEGV with "cat >".  Investigating.
> Should be fixed in the current snapshot.

Thank you for taking another look at this. I've tried with the latest 
snapshot, dated 2014-03-19. This behaves as follows:

     cp ding.wav /dev/dsp

The above command works fine; all of the audio file is heard.

     cat ding.wav > /dev/dsp

The segmentation fault is fixed - thanks. The sound is heard, but the 
last 1.5s are truncated. If the wav file is less than 1.5s long then no 
sound is produced.

     AUDIODRIVER=ao play ding.wav

This is playing the audio through sox, which is where this whole thread 
started. No sound at all, and no output to the console to indicate that 
sox is attempting to play the file. The command exits (with return code 
0) after a couple of seconds (approximately), irrespective of the 
duration of the wav file supplied. Cranking up the verbosity with 'play 
-V6' doesn't offer any assistance.

Reverting to cygwin-1.7.28-2, all of the above commands function 
identically: the sound is heard but the last 1.5s are omitted, and no 
sound is produced if the wav file is less than 1.5s in duration.

Sadly, I'm too busy with other matters to give this any real attention 
right now. However, if we still haven't got to the bottom of this then 
I'll have a dive into the code early next week.

Cheers,

Dave.



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

