]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/xmlsound.hxx
fix a typo
[simgear.git] / simgear / sound / xmlsound.hxx
index d161bbca4acf5f32035da558f38d26963d18ba22..b5bc1f9f3893ffb7a224e96c5a1a8cab9ef01c1b 100644 (file)
@@ -38,8 +38,8 @@
 #include <simgear/compiler.h>
 #include <simgear/props/condition.hxx>
 
+#include "sample_group.hxx"
 #include "sample_openal.hxx"
-#include "soundmgr_openal.hxx"
 
 static const double MAX_TRANSIT_TIME = 0.1;    // 100 ms.
 
@@ -99,10 +99,10 @@ public:
    * @param root The root node of the programs property tree.
    * @param child A pointer to the location of the current event as defined
    * in the configuration file.
-   * @param sndmgr A pointer to a pre-initialized sound manager class.
+   * @param sgrp A pointer to a pre-initialized sample group class.
    * @param path The path where the audio files remain.
    */
-  virtual void init (SGPropertyNode *, SGPropertyNode *, SGSoundMgr *,
+  virtual void init (SGPropertyNode *, SGPropertyNode *, SGSampleGroup *,
                      const string &);
 
   /**
@@ -135,7 +135,7 @@ protected:
 
 private:
 
-  SGSoundMgr * _mgr;
+  SGSampleGroup * _sgrp;
   SGSharedPtr<SGSoundSample> _sample;
 
   SGSharedPtr<SGCondition> _condition;