Author Topic: VU levels - newbie  (Read 14682 times)

Sheep

  • Posts: 243
Re: VU levels - newbie
« Reply #25 on: 4 Jun '03 - 22:30 »
Hehehe, yeah this thread rocks!

I really checked about 20 players and many many did not pass my test file succesfully and with this threads code it does. Thanks to all!

Pachu

  • Posts: 5
Re: VU levels - newbie
« Reply #26 on: 7 Jun '03 - 18:45 »
Please help me!  ???

Ian @ un4seen

  • Administrator
  • Posts: 26222
Re: VU levels - newbie
« Reply #27 on: 8 Jun '03 - 12:11 »
Quote
unsigned __int64 leng has a very high value when the program crash...

That'll be 0xFFFFFFFF, which is -1, which means the BASS_ChannelGetData call was unsuccessful (most likely the channel has finished playing). That's why the "len" variable needs to be signed (eg. an "int"), so that the "for" loop isn't entered in this case.