Improve timings used for audio status. Could be more precise but is good enough for the moment. See #2049

This commit is contained in:
Marianne Gagnon 2015-03-26 19:37:17 -04:00
parent a560aafa50
commit f81f684b34

View File

@ -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();