- trying to fix bug in sound player
This commit is contained in:
parent
8dc637527a
commit
c913825650
|
@ -121,7 +121,7 @@ SoundRenderer &SoundRenderer::getInstance() {
|
|||
}
|
||||
|
||||
void SoundRenderer::update() {
|
||||
if(soundPlayer != NULL) {
|
||||
if(wasInitOk() == true && soundPlayer != NULL) {
|
||||
MutexSafeWrapper safeMutex(NULL,string(__FILE__) + "_" + intToStr(__LINE__));
|
||||
if(runThreadSafe == true) {
|
||||
safeMutex.setMutex(&mutex);
|
||||
|
|
Loading…
Reference in New Issue