I looked at the general forum for bitrate calculation and found the example confusing. So here is the way that I found it to be easy to calculate bitrate in VB.
lenms = FSOUND_Stream_GetLengthMs(Stream)
lenbytes = FSOUND_Stream_GetLength(Stream)
kbps = Format((lenbytes * 8 / 1000 / lenms) * 1000, "0") & " kbps"
- Paranoid_Android asked 16 years ago
- You must login to post comments