0
0

Good evening,

I currently have a problem with that function which sometimes gives me good lengths and sometimes not.

For instance, for a song it says the lenght is 13000 minutes and 42 seconds…

When I get the number of Ms I do these operations :
nbs := (current_length div 1000) mod 60;
nbm := (current_length div 1000) div 60;

So where does the problem come from ?

  • You must to post comments
0
0

its possible you are using VBR mp3 files and need to use the FSOUND_MPEGACCURATE flag

  • You must to post comments
0
0

Ok this is what I thought !

Could you explain me in a few words, how to detect that on mp3 files?

Do I need to close Fsound and init it each time I want to listen an mp3 file which uses vbr ? (I mean if I listen to a non vbr mp3, and I decide to listen to a vbr mp3 file, do I have to close Fsound and then init it again with FSOUND_MPEGACCURATE?)

  • You must to post comments
0
0

you can’t detect it, you just have it on all the time

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.