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:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=yOAoIfB0vcorAThmNrzm7P5TMEt50PtpQr01Nv7rokjtWt1lZDIy7 kZmDBBlMHi9kcJ1MWU5zm5w5epP6c4rDTRPy/2CLU6+HxFC+EQgGQBOe5Xz/ysBp FBAdgYrB7zijZVzpr3AUrnKiwXviSJ7444lcLFbxzEgVG41t3K/Iv4= 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:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=ANp6BAJYOLrll4G0FXbgBV9TG7k=; b=yqE39HRPjY67L9BcyK1kNi8oQv2V kB2P6f1TXAXXmYt1MuqIeKyqgsnMPs92e2sWp1NNE44ZRDYsmgpSvbV4YiXtL2xG bsgO4krIpVynBDUQw3XfbP2/RhkhGgqypsnFGPfNCPLzEy3b6NUoxM9PJhm/y/h1 ocrklvjmhJueIP0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Mon, 10 Mar 2014 12:14:27 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: sox - package is broken Message-ID: <20140310111427.GE2828@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CGDBiGfvSTbxKZlW" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --CGDBiGfvSTbxKZlW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 9 21:37, Dr. Alexander Kleinsorge wrote: > Hi Dave, >=20 > yes, /dev/dsp seems to be broken. > short wav-files are silent, long ones (> 2sec) are ok (hearable). >=20 > Alexander >=20 > ------------------ > On 26/02/2014 22:38, Dr. Alexander Kleinsorge wrote: >=20 > 1st sox problem: > in Cygwin 1.7.28 sound is broken. (sox + play) > I followed all hints as reply to my first post last week. >=20 > $ play blip.wav > blip.wav: > File Size: 1.33k Bit Rate: 94.4k > Encoding: Unsigned PCM > Channels: 1 @ 8-bit > Samplerate: 11025Hz > Replaygain: off > Duration: 00:00:00.11 > In:100% 00:00:00.11 [00:00:00.00] Out:1.25k [=3D=3D=3D=3D=3D=3D|=3D= =3D=3D=3D=3D=3D]=20=20=20=20=20=20=20 > Clip:0 > Done. > =3D=3D> BUT I DONT HEAR ANYTHING, but same file works with other wind= ows > players (=3D=3D> soundcard + driver + speaker =3D ok). >=20 > I've been able to reproduce this using very short wav files (less than 2 > seconds in duration); if I use a longer file then it seems to work OK. > Please could you try again with a longer wav file and report how you get > on. >=20 > This may be a Cygwin problem (rather than an issue with sox itself), as > piping the wav file to /dev/dsp has the same result, i.e. short wav files > are not heard. 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. Maybe it's something obvious for somebody knowing how this works on Windows. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --CGDBiGfvSTbxKZlW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTHZ6TAAoJEPU2Bp2uRE+gZmAP/2hK7W3N0HofzZ7Pk0gA+5jG 1qQgDx/+gMi8kmtMkeDx+VuQOvRKKePX3UlgzcLiyY6McpMem/vWvCs/5aI2KV97 WWHXxG6PrqP/q4kvvuVkuM2Z9GcCY/PXWtRthlDlAQ/T7FidNXXGfx99uMZhXqlB zrkyJv0zgVScvfo6Th8PoAr8Yy6WOm0o3FiI9axbrRRvgc9iRj2nvvJDyC5b/sMb RO3iPywgRagijx5RftZ6gGRWah7cbAKn2ihINUtPU+QgTtjMxRXEh7k5Y6DkhDzz HxK97XBZ+/lbUQQc+4YE4jgDPTnC/43tQDtr8g8F8BClNY2NhulqtR7zA40of7+v Pgssqz8Vd7RA4fUBMgfcTUnn1I1CfVi5KnCvH8IhCExMMw6xmZljIZYHORm8hEFI SC08svPkf+ZrchPXRTrX0dAHuqXtd27tr96+9xfXHH/gJpLHTAaqmknsLkV417MF Lmi5fVOzVP5ukirto1K9FGrenZTU45SYC9fxWPTtaiBsPEl63sjKPy7H6dlevjtN Lg/gY4dZFw+CLz+RYm2H6mM72p8LwzRKiWQlTElKKqIadZNT5ARTXB9yyGBNolcY losB7cbH1Ax6hy/zQGojoUDm+mks2EMg1kuX7iOegDPvJrmCa3z7ZbLcIAs6f3fG 5T3S03pOiKku32oAS9rv =yfQE -----END PGP SIGNATURE----- --CGDBiGfvSTbxKZlW--