winmm/wineoss: use DSP_POST to flush the frag buffers

Jeremy White jwhite at
Tue Feb 22 17:07:42 CST 2005

When we get down to the last fragment or two in our output
to the DSP, we should use the SND_DSP_POST ioctl to let the
sound card know to flush those fragments.  This allows us to
precisely know when the buffer is empty, and fixes another
set of winmm tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flushfrag.diff
Type: text/x-patch
Size: 1095 bytes
Desc: not available
Url :

More information about the wine-patches mailing list