From c4492f88ee7a3dcb5362774ae2e33e9d08607f28 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 30 Jun 2013 08:04:41 -0700 Subject: [PATCH] Make sure streams are "pumped" --- src/sound/oalsound.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sound/oalsound.cpp b/src/sound/oalsound.cpp index b6ac21b1d..1bccec31d 100644 --- a/src/sound/oalsound.cpp +++ b/src/sound/oalsound.cpp @@ -1518,6 +1518,10 @@ void OpenALSoundRenderer::UpdateSounds() { alcProcessContext(Context); + // For some reason this isn't being called? + foreach(SoundStream*, stream, Streams) + (*stream)->IsEnded(); + if(DisconnectNotify) { ALCint connected = ALC_TRUE;