Sounds
BlitzMax Forums/BlitzMax Programming/Sounds
| ||
Hello, i do have a little question about sounds: How do i force to play a sound no matter if the channel(s) is/are already playing one/some? If the channel is not busy, no problem, but if the channel is busy then it should play the new one instantly. Greetings, taumel |
| ||
StopChannel then Play it? |
| ||
How do you do this exactly? I can't get it working... kan=AllocChannel() StopChannel(kan) PlaySound(shoot,kan) or kan=CueSound (shoot) StopChannel(kan) SetChannelPan(kan,pan) ResumeChannel(kan) don't do the job for me. Am i doing/misunderstanding something wrong here? It worked well under 1.01 but after some updates - i guess it was 1.03 - no more... Greetings, taumel |