delorie.com/archives/browse.cgi | search |
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:date:from:to:message-id:in-reply-to:references | |
:subject:mime-version:content-type:content-transfer-encoding; q= | |
dns; s=default; b=Vm5mVLS6ype8ObduZOq3i+Yjp88DN+D99oVCIJiMvDVq5P | |
7ACNAPWhO+wszUjHtPWOpr7bxAIumJgqd/3eHMfnYRQxdmq5UlO481cFe9XRnjpd | |
N/HRQMpfvY2eWzawSNifNFC8CnLBZVGBvGIvmGYws/5Ex9D0SkzlBlcWMGqic= | |
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:date:from:to:message-id:in-reply-to:references | |
:subject:mime-version:content-type:content-transfer-encoding; s= | |
default; bh=U9EO09rHJV4L0pGX7ne7A4SvaNA=; b=Siqtk5J+TeuOFs1wpONK | |
47xSVYw0fcbq0NQxuJuGTMma/3hhFZYLWxibeE5oOjNwiMUXUThLMK2CHcnr1kdJ | |
2saT0BOPSHTRpa2k0i6i+vOdeszpb3nCt+7gmMRiDJ1ogoYO7BHBRW3jj0Jlx7HW | |
1k8XXS1QdroXMq0hUHr0cng= | |
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=-3.6 required=5.0 tests=AWL,BAYES_50,SPF_NEUTRAL,URI_HEX autolearn=no version=3.3.2 |
X-HELO: | sam.nabble.com |
Date: | Tue, 18 Mar 2014 17:49:48 -0700 (PDT) |
From: | PolarStorm <developer AT clinicsearch DOT com> |
To: | cygwin AT cygwin DOT com |
Message-ID: | <1395190188105-107200.post@n5.nabble.com> |
In-Reply-To: | <53289E8A.1010601@tiscali.co.uk> |
References: | <20140310111427 DOT GE2828 AT calimero DOT vinschen DOT de> <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> |
Subject: | Re: sox - package is broken |
MIME-Version: | 1.0 |
David Stacey wrote > I was testing with > cat ding.wav > /dev/dsp > This gives a segmentation fault with the latest (2014-03-18) snapshot; > no sound is heard However, if I repeat your test: > cp ding.wav /dev/dsp > Then that works and the ding dings. Which confuses me greatly - I've > been using *nix for nearly 20 years, and I honestly would have said that > the two lines above were synonymous - they're obviously not! Two things I can think of: 1) With "cat" the output file is created/handled by the shell, whereas "cp" is doing its own file creation. You should see what's going on by: strace cat ding.wav > /dev/dsp strace cp ding.wav /dev/dsp 2) Cat is trying to expand sparse files and perhaps it thinks of your ding.wav as containing sparse data? Also, I would guess, that the dsp driver should handle bit streamed input differently than a block copy/dump? -- View this message in context: http://cygwin.1069669.n5.nabble.com/Re-sox-package-is-broken-tp106970p107200.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |