Counting number of channels

Started by podobo, 23 Jun '03 - 23:53

podobo

I've been using BASS_MusicGetChannelVol to count the number of channels in mod files, but I noticed today that with this method I had a file saying it was 45 channels, when really it has more than that.

I know that internally BASS removes empty channels, so I'm guessing that is why?  If that's the case, can you specify what exactly BASS considers an empty channel.. is it literally a channel with no event data in any of the columns?


Ian @ un4seen

Yep, empty channels are removed in IT/S3M files... an empty channel is one that doesn't have any instrument or effect data.