Author Topic: Counting number of channels  (Read 2231 times)

podobo

  • Posts: 59
Counting number of channels
« on: 23 Jun '03 - 23:53 »
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

  • Administrator
  • Posts: 21731
Re: Counting number of channels
« Reply #1 on: 24 Jun '03 - 14:50 »
Yep, empty channels are removed in IT/S3M files... an empty channel is one that doesn't have any instrument or effect data.