Update comments.

This commit is contained in:
hiker 2014-10-16 08:21:26 +11:00
parent aae834ba4b
commit 140ea5ed84

View File

@ -213,7 +213,6 @@ void SFXManager::queueCommand(SFXCommand *command)
m_sfx_commands.lock();
m_sfx_commands.getData().push_back(command);
m_sfx_commands.unlock();
// Wake up the sfx thread
} // queueCommand
//----------------------------------------------------------------------------
@ -224,6 +223,7 @@ void SFXManager::queueCommand(SFXCommand *command)
void SFXManager::update(float dt)
{
queue(SFX_UPDATE_MUSIC, NULL, dt);
// Wake up the sfx thread to handle all queued up audio commands.
pthread_cond_signal(&m_cond_request);
} // update