Update comments.
This commit is contained in:
parent
aae834ba4b
commit
140ea5ed84
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user