0
0

Hi,

I have a question to the getlength function.

If i use the function to get the song length in ms i will get: 201795ms

This in Minutes ( /1000 / 60) = 3,36325min

But the Windows Mediaplayer and WinAmp tell me that the song length = 3:21 is.

Why does this happen? How can I get the original songlength?

Please help me. (Sorry for my bad English)

Witch

  • You must to post comments
0
0

I think the problem is just that you’re misinterpreting the result returned.

Both Winamp and FMOD are telling you the same things, just in different ways.

Remember that 3.36325 is in minutes, and 3:21 is in minutes:seconds. So, to get them to be equal, you take your whole number of minutes (3), and then multiply your fractional minutes (0.36325) by 60 seconds. This will give you 21.795 seconds.

Thus, 3.36325 minutes is, actually, equal to 3:21.

8)

  • Guy
  • You must to post comments
0
0

Oh thx!

it was a logcal error in my brain!

thank for help.

Witch

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.