03.09.2013, 00:05
Hi, I found bug in playing audio streams. Sometimes happens, that I have lag while switching to other audio stream (in code I stop now playing stream, then I play other audio stream), game will freeze for 2 or more seconds and then I hear 2 or more audio streams... Also it sometimes happens when I have game minimized and someone on the server switches to another stream (with same method as I wrote)... I tried to stop audio stream with play "empty" stream (PlayAudioStreamForPlayer(id, " ")) and also with StopAudioStreamForPlayer, but it didn't stop all audio streams. Is there any explanation for this bug or is there any fix? Thanks.