This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in /dev/dsp = problems at short wav-files (<2sec)


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@yandex.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]