0
0

Hello.
I have a project with one event and 2 languages. Source *.wav files for these languages have different length. When I use event->getInfo, I get same event length for both languages. If I choose language #1 at FMOD Designer and then build project, I get event’s length equal to #1 *.wav file’s length. This behavior does’t depend on value of function setLanguage.
Is it a bug?
But in this cause event chooses right *.wav file to play.

  • You must to post comments
0
0

i’ve got same problem. but any answer could not be found.
why dose .fev contains only selected language event information?
setLangauge function doesn’t affect event length which have different wave length data each language.
how can i detect the event length of other language ?

  • You must to post comments
0
0

in my case, when we call getInfo(), the bank data is loaded.

  • You must to post comments
0
0

Hi
Just letting you know I have tested a fix for this so that a loaded bank will return its proper length from the bank itself, if you use setlanguage to something other than the default.
we’ll release this in 4.44.35 , i’ll see if we can get a version out with this in today.

  • You must to post comments
0
0

this version is out now in case you’re subscribed to this topic.

  • You must to post comments
0
0

sounds like a valid bug, we’ll get this patched asap

  • You must to post comments
0
0

just a question, are you after this info before calling getEvent or loadEventData (ie the bank data will be loaded) or are you after this information before loading the bank data? If before, it would require a significantly bigger change (FEV format will have to be updated and version # incremented), but if the bank is loaded we can do a workaround and probe the FSB for the right length.

It seems like an even bigger workaround would be to use different FEVs like you found (because the length is based on the selected language during build time) but that that is a bit clunky.

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.