]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/voiceplayer.cxx
Some more refactoring of the radios
[flightgear.git] / src / Sound / voiceplayer.cxx
index 1a839cf3a3dac41ef1692ab27095544a79643aa0..2cd2f127c1fa44974864f2cd19d3f2d383127e35 100644 (file)
 
 using std::string;
 
-#if defined( HAVE_VERSION_H ) && HAVE_VERSION_H
-#  include <Include/version.h>
-#else
-#  include <Include/no_version.h>
-#endif
-
 #include "voiceplayer.hxx"
 
 ///////////////////////////////////////////////////////////////////////////////
@@ -220,7 +214,7 @@ FGVoicePlayer::get_sample (const char *name)
         }
         catch (const sg_exception &e)
         {
-            SG_LOG(SG_INSTR, SG_ALERT, "Error loading sound sample \"" + filename + "\": " + e.getFormattedMessage());
+            SG_LOG(SG_SOUND, SG_ALERT, "Error loading sound sample \"" + filename + "\": " + e.getFormattedMessage());
             exit(1);
         }