0
0

FSOUND_Stream_GetLengthMs(pSound) is returning wrong length…

actually i am playing a song of length 3:52 but its showing 12:61( suitably changed from milliseconds)….

its not occuring with all songs but few…

with other media players i am gettn correct length…

  • You must to post comments
0
0

ok i resolved the issue…i just had to use FSOUND_MPEGACCURATE

but nonetheless i am curious why without this flag set its giving such a huge difference in length….

  • You must to post comments
0
0

I would have suggested that straight away.
The reason it is different is because fmod does a calculation based on the first few frames of the song to work out the length in ms based on the length in bytes. Some times with vbr this is different at the start than at the end so it doesnt always work. With CBR mp3 files it works fine.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.