Checking whether or not a sound is playing

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

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!

try ChannelPlaying

Well, there ya go--should have guessed as much. Hurrah for undocumented features! Thanks!

to convert it from undocumented to documented (and a whole stack of others), check this thread out.

Oh, so there is a ChannelPlaying command after all :O

Grrr damn them docs ;)

This is awesome! I am impressed. It is also nice to actually be able to copy and paste code samples now :)