Sound Manager prints debug info if uncached sounds are requested to be played
authorChristoph Sommer <mail@christoph-sommer.de>
Sun, 6 Jan 2008 02:49:09 +0000 (02:49 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Sun, 6 Jan 2008 02:49:09 +0000 (02:49 +0000)
SVN-Revision: 5257

src/audio/sound_manager.cpp

index 7d285ff..b2697c1 100644 (file)
@@ -148,6 +148,8 @@ SoundManager::intern_create_sound_source(const std::string& filename)
       source->set_sound_file(file.release());
       return source;
     }
+
+    log_debug << "Uncached sound \"" << filename << "\" requested to be played" << std::endl;
   }
 
   alSourcei(source->source, AL_BUFFER, buffer);