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=GlcQ/wQaC/RxGyUGEuQqIm+N0BW697fToFtdi/XFjQK
	I6MjhNnifHRHS/jBg6pVIfWp0TwQN4m7dU/tAWi18u6dBgGET3qF+zVJsXbv87b3
	B4yqhWpamcOC7BkWjVJKJgOC5pjT1yJ+E2kkVH9BWxsH5Dcu/Gyqd0QHwVwmCbrI
	=
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=ro6+AOmTwFyRzKJCN7Od4hHeEIY=; b=fPUDDX6wQTpSyq0Lr
	sITcUWHDOtB54DejmNKYC9ZkqN4DM2UkeIad23zGAOZUThNw66hUrHVsudQlC+Ew
	3puPXHTf6czOyg93lFPa+2AiRzqwxu01sSlewJHYnwgSpxBhY4oN1nDHodaTkUTV
	8vH70lLJPsrMoLcNQXyE0hRySg=
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.ipsmtp2nec.opaltelecom.net
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjkDAFDoJFNPRtco/2dsb2JhbAANTINBg12+dwMCgSqDGQEBAQQjFUARCxgCAgUWCwICCQMCAQIBRRMIAQG3Z3aiAxeBKY1GFoJZgUkBA5RbBZlC
X-IPAS-Result: AjkDAFDoJFNPRtco/2dsb2JhbAANTINBg12+dwMCgSqDGQEBAQQjFUARCxgCAgUWCwICCQMCAQIBRRMIAQG3Z3aiAxeBKY1GFoJZgUkBA5RbBZlC
Message-ID: <5324E98D.2090806@tiscali.co.uk>
Date: Sun, 16 Mar 2014 00:00:13 +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>
In-Reply-To: <20140310111427.GE2828@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 10/03/2014 11:14, Corinna Vinschen wrote:
> Does anybody feel up to the task to debug this issue in the Cygwin DLL?
> The DSP code is practically only in a single file called fhandler_dsp.cc.

I've started looking at this, but it is at the very bottom of my 
priority queue so progress might be slow. Thus far, I've determined that 
the last 1.5s are missing from *all* wav files piped to /dev/dsp. If 
your wav file happens to be less that 1.5s then you get nothing. This 
hasn't been noticed to date because most audio files (e.g. songs) 
contain an amount of silence at the end of the file to separate the tracks.

The code mentioned above maintains a circular buffer that holds 1.5s 
worth of sample data, so it is probable that this buffer isn't getting 
flushed properly. I've spent an evening debugging the code, but haven't 
turned up anything yet. It doesn't help that the code is rather sparsely 
commented.

I'll post again if I learn more.

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

