From cbc17e235037f561f6e23e5515b7c3f0ce6bae33 Mon Sep 17 00:00:00 2001 From: Christoph Sommer Date: Sun, 6 Jan 2008 02:49:09 +0000 Subject: [PATCH] Sound Manager prints debug info if uncached sounds are requested to be played SVN-Revision: 5257 --- src/audio/sound_manager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/audio/sound_manager.cpp b/src/audio/sound_manager.cpp index 7d285ffb3..b2697c1ab 100644 --- a/src/audio/sound_manager.cpp +++ b/src/audio/sound_manager.cpp @@ -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); -- 2.11.0