Exact length of audio file

Started by Richard_b,

Richard_b

I am using the bytes to seconds function in Bass and it returns the length whole seconds .. is there any way to accuratel;y determine the length to hundreths of a second?


Ian @ un4seen

BASS_ChannelBytes2Seconds actually returns a floating-point value, so you can pretty much go as accurate as you like. If you're only getting whole seconds, then your variable to receive the return value is probably an integer - change it a float/single.