From 143a47482ba34c2968646b9a97940a470b14c6f2 Mon Sep 17 00:00:00 2001 From: Richard Harrison Date: Fri, 10 Feb 2017 08:56:27 +0100 Subject: [PATCH] Change the log level of the "failed to load sound buffer" as it shouldn't be a popup because within my interpreation it is not within the definition of what POPUP should be used for. --- simgear/sound/soundmgr_openal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/sound/soundmgr_openal.cxx b/simgear/sound/soundmgr_openal.cxx index 75c79f9e..f437cee2 100644 --- a/simgear/sound/soundmgr_openal.cxx +++ b/simgear/sound/soundmgr_openal.cxx @@ -555,7 +555,7 @@ unsigned int SGSoundMgr::request_buffer(SGSoundSample *sample) bool res = load(sample_name, &sample_data, &format, &size, &freq, &block); if (res == false) return NO_BUFFER; } catch (sg_exception& e) { - SG_LOG(SG_SOUND, SG_POPUP, + SG_LOG(SG_SOUND, SG_ALERT, "failed to load sound buffer:\n" << e.getFormattedMessage()); sample->set_buffer( SGSoundMgr::FAILED_BUFFER ); return FAILED_BUFFER;