When we get down to the last fragment or two in our output to the DSP,
commit920ef0fbc9d74dfeb985ab7dc0d149b12d28924a
authorJeremy White <jwhite@codeweavers.com>
Wed, 23 Feb 2005 12:43:04 +0000 (23 12:43 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 23 Feb 2005 12:43:04 +0000 (23 12:43 +0000)
treebfc04ad9cc2b447824da8a3fcd3799e07d5f8a85
parent1b685779a4be00dd2467589d470bba5f12db0bf4
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.
dlls/winmm/wineoss/audio.c