delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/12/18:35:24

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=vsNtLzPBBahZQ2RB
/c/GcMADbHXqYIM6Dc36eXXKsW8cqSNhbvgC2bKYCtNM0Jh87HXpmAivryncBM7P
1osCbN4Z1pbz/vbAER6x0hZOCmwHatEYmVJ+I+NFYzFAiKqbLFbthoZ0KR4lLfKY
jrBt2hOAoVEienCDnpS/LWL6jvY=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=ycTn1ITkqOVzpJxQ1NAS7g
iWkRk=; b=uRqu6Soaxms7mwJJ0JbHYFBzWfPqQpfmjKGEPXCl+44EIcmQk6uGLr
dDDimWK2U97LeQ5efIo2SNSlg7QCjmctH1wd/NtqVu/YpaKMj1ubqSKjY6WQI7/0
4u9dwxwnRJbD1V+0s2Pm5T9KCWYyMsQ1hlFk1WZCm5mPKc5Jq+c+U=
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.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Thu, 13 Mar 2014 02:25:03 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1718555771.20140313022503@yandex.ru>
To: "Dr. Alexander Kleinsorge" <aleks AT physik DOT tu-berlin DOT de>, cygwin AT cygwin DOT com
Subject: Re: Bug in /dev/dsp = problems at short wav-files (<2sec)
In-Reply-To: <dd7aefa996f687b790593445ee284496.squirrel@www.physik.tu-berlin.de>
References: <dd7aefa996f687b790593445ee284496 DOT squirrel AT www DOT physik DOT tu-berlin DOT de>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Dr. Alexander Kleinsorge!

> /dev/dsp has problems playing short wav-files!
> # Cygwin 1.7.28 (32bit), Windows 7 (64 bit).

http://cygwin.com/ml/cygwin/2014-03/msg00133.html
Please read that message.

> # 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)
> 4.8.2-2) (GCC) ) 2014-02-09 21:06

> Thanks for reply,
> Alexander


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 13.03.2014, <02:23>

Sorry for my terrible english...


--
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