Try to use materials of
http://www.blitzbasic.com/Community/...hp?topic=82669 (though on a VB, but everything is clear) , to you it will be much simpler it. Though there is such:
Код:
Len=:BASS_StreamGetLength(a_stream); // length in bytes
Time=:BASS_ChannelBytes2Seconds(a_stream,len); // the time length
Read about use functions this library, and good luck!