VU levels - newbie

Started by Sheep,

Sheep

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!


Ian @ un4seen

Quoteunsigned __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.