Fixed: Looping sound or crash during teleport with OpenAL driver

--HG--
branch : develop
feature/pipeline-tools
Nimetu 6 years ago
parent 70e40339a1
commit 4cbed9f957

@ -121,6 +121,11 @@ void CSourceAL::setStreaming(bool streaming)
alTestError();
_Buffer = NULL;
_IsStreaming = streaming;
if (_IsStreaming)
{
// make sure looping is disabled on OpenAL side
setLooping(false);
}
}
/* Set the buffer that will be played (no streaming)

Loading…
Cancel
Save