Make sure streams are "pumped"

This commit is contained in:
Chris Robinson 2013-06-30 08:04:41 -07:00
parent ba3cc38d09
commit c4492f88ee

View file

@ -1518,6 +1518,10 @@ void OpenALSoundRenderer::UpdateSounds()
{ {
alcProcessContext(Context); alcProcessContext(Context);
// For some reason this isn't being called?
foreach(SoundStream*, stream, Streams)
(*stream)->IsEnded();
if(DisconnectNotify) if(DisconnectNotify)
{ {
ALCint connected = ALC_TRUE; ALCint connected = ALC_TRUE;