0
0

In the example of 3D sounds that comes with FMOD Ex, there is [code:1znybibi] system->update();

    Sleep(INTERFACE_UPDATETIME - 1);[/code:1znybibi] and the define is

[code:1znybibi]const int INTERFACE_UPDATETIME = 50; // 50ms update for interface[/code:1znybibi]

my question, is that Sleep needed?, Is it always needed or only in this example because when I use the Sleep in my project my fps gets locked pretty bad.

  • You must to post comments
0
0

I believe FMOD can be updated as often as you wish, the sleep is not required.

In examples I believe its used so there is some ‘pause’ between updates representing a more realistic test.

  • You must to post comments
0
0

Hmm, yeah that sounds like a good reason, yeah I will try without the Sleep, hopefully it won’t cause any other problems, thanks for the reply

  • You must to post comments
0
0

If you blast System::update at 10000fps the app will just freeze and windows will grind to a halt. You need a sleep in these fake tests just to let the printf run and allow it to multitask a bit better.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.