delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/19/16:14:39

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT tiscali DOT co DOT 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 AT cygwin DOT com
Subject: Re: sox - package is broken
References: <5324E98D DOT 2090806 AT tiscali DOT co DOT uk> <20140316114332 DOT GB400 AT calimero DOT vinschen DOT de> <5326276F DOT 1050103 AT tiscali DOT co DOT uk> <20140317015736 DOT GA8086 AT ednor DOT casa DOT cgf DOT cx> <20140317022829 DOT GB8086 AT ednor DOT casa DOT cgf DOT cx> <20140317044230 DOT GA1235 AT ednor DOT casa DOT cgf DOT cx> <53278AE6 DOT 9040509 AT tiscali DOT co DOT uk> <20140318175353 DOT GA1051 AT ednor DOT casa DOT cgf DOT cx> <53289E8A DOT 1010601 AT tiscali DOT co DOT uk> <20140318193218 DOT GA4530 AT ednor DOT casa DOT cgf DOT cx> <20140318231653 DOT GA6466 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20140318231653.GA6466@ednor.casa.cgf.cx>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019