0
0

Hi,

I’ve just started to use FModEx with Delphi7 and built a little program to test some functions. Unfortuantely I recognized that the gettime function causes an acces violation and when playing larger mp3 files > 1MB startup takes much time (up tp 10 sec!). As I played around with Fmod 3.x I was very surprised – is this normal?

Best regards

Manuel

  • You must to post comments
0
0

Fmod Ex loads the complete file in the memory by default. Make sure you set the FMOD_CreateStream flag in the FMOD_System_CreateSound function to avoid this. That should reduce the loadtime significantly.

  • You must to post comments
0
0

ahh-thanx, this flag maybe wasn’t set. But I am sure that the gettime function caused this access violation. Maybe something in the Delphi interface is wrong…don’t know.

Manuel

  • You must to post comments
0
0

I’ve found the problem: The gettime/settime function in then Delphi interface (FMOd.pas) is different from the original function. It contains a parameter called “latencyadjust : FMOD_BOOL”. I deleted it and it works. Maybe you change this in the next release.

best regards

Manuel

  • You must to post comments
0
0

The Delphi headers are not up-to-date with the latest release. Brett releases a version of the API and then the Delphi headers get updated afterwards.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.