SA-MP Forums Archive
Audio stream can't be stopped - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Audio stream can't be stopped (/showthread.php?tid=461706)



Audio stream can't be stopped - Thoma.s.Heck - 03.09.2013

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.


Respuesta: Audio stream can't be stopped - RafaelZam - 03.09.2013

thats maybe because your gta sa is RIP?
did you downloaded your gta sa compressed?


Re: Audio stream can't be stopped - Thoma.s.Heck - 03.09.2013

No, I'm not the only one to whom it happens. I tried to simulate this with 5 streams in a cycle. The result is same as I have lag. Btw I have gta sa original dvd.


Re: Audio stream can't be stopped - Jochemd - 03.09.2013

Yeah this occurs when you play audio streams too fast after each other


Re: Audio stream can't be stopped - Thoma.s.Heck - 03.09.2013

Yes, but it can occurs randomly... I think that developers can do a fix of this bug.


Re: Audio stream can't be stopped - Alternative112 - 04.09.2013

I can confirm this, this has happened to me before. Have you tried anything to try and correct it? for example PlayerPlaySound?


AW: Audio stream can't be stopped - BigETI - 04.09.2013

Did you alternatively try to first stop an audio stream and after that play another audio stream?


Re: AW: Audio stream can't be stopped - Thoma.s.Heck - 04.09.2013

Quote:
Originally Posted by BigETI
Посмотреть сообщение
Did you alternatively try to first stop an audio stream and after that play another audio stream?
Yes, this is way how I play streams.


Re: Audio stream can't be stopped - Fitri - 06.09.2013

i don't know, i didn't get any bugs


Re: Audio stream can't be stopped - Fresh9884 - 06.09.2013

Try to not stop the stream, just switch to the stream and dont spam it so you dont get frozen.