audio_play_sound priority?

Tales

Member
Hello

I dont understand how its really works in fact. I see "Lower priority sounds will be stopped in favour of higher priority sounds" (I dont speak eng very well so I missunderstand something).
But it seems to explain if I have 2 sound like that

audio_play_sound(sd_impactsanglant01,50,0);
audio_play_sound(sd_ecrasementgore,51,0)

launching at same time, the first wont be played?

My problem is, I have a lot of sound in the game (and no problem heard but one, sometimes, thoses 2 are not played (there is other sounds with other priority) but 1 / 10 I guess, the 2 sounds are not played. I dont know why.

(sorry for my english)
 
T

ThePropagation

Guest
if you put them both right next to each other in the code one won't play every time because it will immediately only play the one with more priority
 

Tales

Member
Ok I stop to launch 2 sounds at same time.. there is really a problem...

haha ok Bearman ^^
 
Top