waveOutWrite() queue before fill question
rbencina at hotmail.com
Sun Aug 16 08:53:16 EDT 1998
On the topic of windows multimedia audio i/o...
I have been experimenting with filling my waveOut buffers AFTER I have
requeued them to the driver (with waveOutWrite) as this seems to allow
me to use double buffers (as opposed to 3 or more) while using a large
percentage of the buffer time slice (90%+). My earlier experiments only
yielded a 50% usable slice - ie the buffers needed to be delivered
approximately half a buffer duration before they were required to
provide glitch free output.
These test were performed using 2048 byte buffers on a PII 266, win95
and a wavecenter card that gives Systems Monitor stats on buffer
underruns and other useful stuff.
Other than the fact that it's not recommended, can anyone comment on
whether there is any time when this strategey wouldn't work? NT or
certain drivers for example?
Note that I always have the whole buffer filled before I expect it to
Get Your Private, Free Email at http://www.hotmail.com
More information about the music-dsp