This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: /dev/dsp
- To: cygwin-patches at cygwin dot com
- Subject: Re: /dev/dsp
- From: "Andy Younger" <andylyounger at hotmail dot com>
- Date: Tue, 17 Apr 2001 16:00:52 -0000
>Should it not be a slow device being that calls to write() can block for a
>good fraction of a second (depending on the size & number of fragments).
Sorry, don't know what I was thinking, It can infact block for much longer
than this. It blocks for as long as the sample takes to play minus a small
play ahead cache. Therefore a single write of a large sample (several megs),
could take minutes to come back from the write().
Andy.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.