Improve timings used for audio status. Could be more precise but is good enough for the moment. See #2049
This commit is contained in:
parent
a560aafa50
commit
f81f684b34
@ -365,7 +365,7 @@ void* SFXManager::mainLoop(void *obj)
|
||||
// Wait some time to let other threads run, then queue an
|
||||
// update event to keep music playing.
|
||||
StkTime::sleep(1);
|
||||
me->queue(SFX_UPDATE, (SFXBase*)NULL, 0.01f);
|
||||
me->queue(SFX_UPDATE, (SFXBase*)NULL, 0.001f);
|
||||
}
|
||||
me->m_sfx_commands.lock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user