This is the mail archive of the cygwin-patches@cygwin.com 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]

Re: /dev/dsp


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


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