delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/15/20:00: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=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 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.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 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: <b0f9be09644f90eadb0a5d479b74ad56 DOT squirrel AT www DOT physik DOT tu-berlin DOT de> <20140310111427 DOT GE2828 AT calimero DOT vinschen DOT de>
In-Reply-To: <20140310111427.GE2828@calimero.vinschen.de>
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

- Raw text -


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