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:subject:from:to:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=amV 7gKTv8CvGZW1qryybWhfCNrdNSTkcyb0K+MeA+PrEhwJNn1plUDwMI1EdVhQJ9gB RGZUP2NbBEfUn1Hr/rgdAqlCFfDtU/4hNxyslpBbVYU8p4mueD8ei0YCRCCefHX2 yOuRt75TZlVWyhztmsz673/FYkNQ7X7J43EeMGbI= 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:subject:from:to:mime-version :content-type:content-transfer-encoding; s=default; bh=C1g+5Fge6 rSJFAlZSbHTDdtwQ+s=; b=uLHrdUrNTiaabRbVar2Mm9niTXm3BEHLCHECZ29fn yCkg93gshiBUfBX57QXEIJnEFH9N62kWiGAXG6FBWo9PVIV6lkV7KHj7bmFOh9bZ hgZc6ZCWciLjWajhFBVeK3dJ1yJCT5n/XqjgBIKFK7np0J0HyXSdbVKGCY1ddBFv yo= 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=2.3 required=5.0 tests=AWL,BAYES_50,T_HK_NAME_DR,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail.tu-berlin.de X-tubIT-Incoming-IP: 130.149.58.163 Message-ID: Date: Wed, 12 Mar 2014 22:24:30 +0100 Subject: Bug in /dev/dsp = problems at short wav-files (<2sec) From: "Dr. Alexander Kleinsorge" To: cygwin AT cygwin DOT com User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit /dev/dsp has problems playing short wav-files! # Cygwin 1.7.28 (32bit), Windows 7 (64 bit). # get 2 test files here ( 25 kB both ) wget http://www.physik.tu-berlin.de/~aleks/wave14sL.wav wget http://www.physik.tu-berlin.de/~aleks/wave16sL.wav # Test that fails: cp wave16sL.wav /dev/dsp ==> I hear something (file = 1.6 sec, 12 kB). cp wave14sL.wav /dev/dsp ==> I hear nothing ! (file = 1.4 sec, 13 kB). # Format: both 8000 Hz, mono, 8 bit. (but first file is played truncated!) aplay same.wav # in Ubuntu 12.04 works fine. # also any other player (Win32 or Ubuntu is able to play both files fine). $ file wave14sL.wav wave16sL.wav wave14sL.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 8000 Hz wave16sL.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 8 bit, mono 8000 Hz $ cat /proc/version CYGWIN_NT-6.1-WOW64 version 1.7.28(0.271/5/3) (corinna AT calimero DOT vinschen DOT de) (gcc version 4.8.2 20131016 (Fedora Cygwin 4.8.2-2) (GCC) ) 2014-02-09 21:06 Thanks for reply, Alexander -- 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