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=APw5Qs4tUAi/AFX4XniOtUhtgWIpWoLP2VhlEKrTaMX
	gDh686GoENM+VR5GVrN5J2wAtEuA7J7GWVEUk6Fb5+nSCcofco57zqBaWq2qf56X
	RSoMfVPkUgqXNotab08jPFcfRJ8Trxy+1yO/O8k0Wi5Sv9GXb/4oou8r/g57SHE0
	=
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=41tZ6u+7q3CieEfjauE5WcBgzH0=; b=AVTY55v4sCn87zfsS
	NplT1DywKwshOqz1r/OJueUni64MQ5Xr3qJUAzEAAqbQFmwPgumXTtgyu5Sfvg7Y
	ZhLCLv0xXkoA04SHRywOnjMAl0zotsMVZcoKEuibHPJZJ0jTTx0/U5GXheENfgO3
	JJJkEVjwndLLzyTGKEXrW/Sv9c=
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: ApMBAHiKJ1NV0kXV/2dsb2JhbAANTcMlgw6BOYMZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQEWt3CjYxeObxaEIgSUWwWZQw
X-IPAS-Result: ApMBAHiKJ1NV0kXV/2dsb2JhbAANTcMlgw6BOYMZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQEWt3CjYxeObxaEIgSUWwWZQw
Message-ID: <53278AE6.9040509@tiscali.co.uk>
Date: Mon, 17 Mar 2014 23:53:10 +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: <b0f9be09644f90eadb0a5d479b74ad56.squirrel@www.physik.tu-berlin.de> <20140310111427.GE2828@calimero.vinschen.de> <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>
In-Reply-To: <20140317044230.GA1235@ednor.casa.cgf.cx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 17/03/2014 04:42, Christopher Faylor wrote:
> On Sun, Mar 16, 2014 at 10:28:29PM -0400, Christopher Faylor wrote:
>> On Sun, Mar 16, 2014 at 09:57:36PM -0400, Christopher Faylor wrote:
>>> On Sun, Mar 16, 2014 at 10:36:31PM +0000, David Stacey wrote:
>>>> The issue I have is that close_audio_out() isn't working as you'd
>>>> expect: for some reason, the 'audio_out_' member pointer is null
>>> This was because all of the I/O operations were ignoring the archetype
>>> for the device.  So, this is likely an old bug.
>>>
>>> So, good news/bad news.  Good news: I checked in a fix which causes the missing
>>> 1.5 seconds to be played.  Bad news: The process now hangs in waveOutClose()
>>> in fhandler_dev_dsp::Audio_out::stop.  There seem to be a few threads hanging
>>> around waiting for something so obviously something isn't cleaning up right
>>> in the audio code.
>> Nope.  Wrong theory.  I know what's causing this but I don't yet know how to
>> fix it.
> This should all be fixed in the upcoming snapshot.

Thank you for looking at this. I've tried the 32-bit snapshot dated 
'2014-03-17', but whenever I pipe a wav file to /dev/dsp I get a 
segmentation fault. The error is produced immediately, and no sound is 
heard. I've tried wav files both longer and shorter than 1.5s.

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

