From d44354dcd6e6ad9943d83ed4c4ae0a09e636bc0e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 3 Aug 2011 12:26:34 -0700 Subject: [PATCH] Clear the source queue when flushing --- buffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/buffer.c b/buffer.c index 0ccdb57..d8ba3b2 100644 --- a/buffer.c +++ b/buffer.c @@ -1601,6 +1601,7 @@ static HRESULT WINAPI DS8Buffer_SetCurrentPosition(IDirectSoundBuffer8 *iface, D /* Perform a flush, so the next timer update will restart at the * proper position */ alSourceStop(This->source); + alSourcei(This->source, AL_BUFFER, 0); getALError(); popALContext(); } -- 2.11.4.GIT