]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/soundmgr.cxx
More fg -> sg namespace changes in simgear.
[flightgear.git] / src / Sound / soundmgr.cxx
index 8903da4f97690ac30fa90b0ea74b37ae8a90cd2e..a4c4878096a119ce086eb3939df8e76963f4577a 100644 (file)
@@ -25,7 +25,7 @@
 
 
 #include <simgear/debug/logstream.hxx>
-#include <simgear/misc/fgpath.hxx>
+#include <simgear/misc/sg_path.hxx>
 
 #include <Main/globals.hxx>
 
@@ -34,7 +34,7 @@
 
 // constructor
 FGSimpleSound::FGSimpleSound( string file ) {
-    FGPath slfile( globals->get_fg_root() );
+    SGPath slfile( globals->get_fg_root() );
     slfile.append( file );
     sample = new slSample ( (char *)slfile.c_str() );
     pitch_envelope = new slEnvelope( 1, SL_SAMPLE_ONE_SHOT );
@@ -64,7 +64,7 @@ FGSoundMgr::FGSoundMgr() {
     audio_sched = new slScheduler( 8000 );
     audio_mixer = new smMixer;
 
-    FG_LOG( FG_GENERAL, FG_INFO,
+    SG_LOG( SG_GENERAL, SG_INFO,
            "Rate = " << audio_sched->getRate()
            << "  Bps = " << audio_sched->getBps()
            << "  Stereo = " << audio_sched->getStereo() );