0
0

I am creating my sounds like this:
[code:5glpze41]
fmod->createSound(file.c_str(), FMOD_2D | FMOD_CREATESTREAM | FMOD_ACCURATETIME, 0, &music);
fmod->playSound(FMOD_CHANNEL_REUSE, music, false, &channel);
[/code:5glpze41]

and when I use this:
[code:5glpze41]
unsigned songlen;
music->getLength(&songlen, FMOD_TIMEUNIT_MS);
[/code:5glpze41]

I get the wrong times. One file in particular is 3 minutes on the dot, and this is giving me 2:46. Is there something I’m missing here?

  • You must to post comments
0
0

Well, updated to the latest version of FMOD and it works. Sorry about that, must have been an old bug.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.