explain please why I have such problem to a sound as in a script. https://yadi.sk/d/qqDSzuclgv5Gy
Pages 1
You are not logged in. Please login or register.
AudioGames.net Forum → Developers room → problem with ogg sounds
explain please why I have such problem to a sound as in a script. https://yadi.sk/d/qqDSzuclgv5Gy
Hi,
Can you please explain your problem, rather than demanding us to explain your issue when we don't know your issue in the first place? It's rather rude of you to just say, "Explain to me how to do so and so." If you have a problem with something, please explain it and add detail, including the code your using so we can help you. If there's no code, tell us so, and tell us what you want to do, and we'll try to help you.
please forgive me, I just thought that the problem is seen from the written code. my problem is that when I try to play sound in my game, he begins to obsess over. here is the code:
#include"sound_pool.bgt";
sound_pool sounder;
void main() {
show_game_window("test");
sounder.play_stationary("sound.ogg", true);
while(true) {
if(key_pressed(KEY_ESCAPE)) {
exit();
}
}
}
you can download the example at the link that I stated in the first message. listen to audio longer than 5 seconds and you will understand me.
Do you mean the sound loops constantly?
Hi.
Do you mean the sound loops constantly?
Apparently. Though I fail to see how that's unexpected behavior, since he used the play_stationary method of the sound pool object and set the 'looping' parameter to true, the sample he provided can be found here.
Hi, you should set that parameter to false since it tells it to loop the sound if you set it to true.
AudioGames.net Forum → Developers room → problem with ogg sounds
Generated in 0.019 seconds (48% PHP - 52% DB) with 11 queries