Checking whether or not a sound is playing

BlitzMax Forums/BlitzMax Programming/Checking whether or not a sound is playing

Tom Darby(Posted 2005) [#1]
Hello all,

[Does | Will] BlitzMax have a function to allow you to check whether or not a sound is playing? If not, does anybody have any novel ideas on how to go about doing so?

Context: I need to be able to prioritize sounds--some of em' should never be interrupted, while others can safely drop out should I run out of free channels.

Devs, thanks for a great product--BlitzBasic worked wonderfully for Jardinains!, and I'm sure BlitzMax will be even better for Jardinains 2!


Perturbatio(Posted 2005) [#2]
try ChannelPlaying


Tom Darby(Posted 2005) [#3]
Well, there ya go--should have guessed as much. Hurrah for undocumented features! Thanks!


Perturbatio(Posted 2005) [#4]
to convert it from undocumented to documented (and a whole stack of others), check this thread out.


VIP3R(Posted 2005) [#5]
Oh, so there is a ChannelPlaying command after all :O

Grrr damn them docs ;)


Why0Why(Posted 2005) [#6]
This is awesome! I am impressed. It is also nice to actually be able to copy and paste code samples now :)