1.5.24 esdplay delays every other file

Silas S. Brown ssb22@cam.ac.uk
Sat Apr 14 08:44:00 GMT 2007

Hi, good work on Cygwin but I'm wondering why when I type:

for N in *.wav; do esdplay $N; read; done

in a directory full of short WAV files, and I wait for each
WAV to finish before pressing Enter to start the next one,
every OTHER wav file is delayed by about a second before it

The delay happens no matter how long I wait between wav files.
It also happens if I play the same wav file repeatedly as in
for N in 1 2 3 4 5; do esdplay somefile.wav; read; done
it's always every other call to esdplay that delays.

This does not happen when I use Cygwin's ogg123 to play ogg
files (ogg123 has a small start-up delay anyway but it
doesn't delay more on every other call) so I guess it's an
esd problem rather than a problem with sound in general.
The problem also fails to manifest itself when calling
Windows' soundrec32.exe /play /close somefile.wav

I couldn't find anything on google or in the list archives
about esdplay delay problems.  I tried changing esdctl standbymode
but that seemed to have no effect.



Silas S Brown, Computer Lab Cambridge UK http://www.cus.cam.ac.uk/~ssb22

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 41572 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070414/cfa7f264/attachment.obj>
-------------- next part --------------
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

More information about the Cygwin mailing list