mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
don't double block update
This commit is contained in:
parent
73fca1857a
commit
4232adcc69
@ -46,7 +46,6 @@ void AudioManager::set_update_func(AudioManager::UpdateFunc* func) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void AudioManager::ns_update(void) {
|
||||
// handle looping
|
||||
mutex_lock l(_manager_mutex);
|
||||
if (_loopset != (LoopSet*)0L)
|
||||
for (LoopSet::iterator i=_loopset->begin(); i!=_loopset->end(); ++i)
|
||||
if ((*i)->status() == AudioSound::READY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user