X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fsound%2Fxmlsound.hxx;h=f3635b08a705393d2c8180bc2a71aeeb9681904e;hb=a7697f6095eca0a2b8e1129d8430aebb62138509;hp=d161bbca4acf5f32035da558f38d26963d18ba22;hpb=deef158822d9ad81a1c87a42da74963587a6a859;p=simgear.git diff --git a/simgear/sound/xmlsound.hxx b/simgear/sound/xmlsound.hxx index d161bbca..f3635b08 100644 --- a/simgear/sound/xmlsound.hxx +++ b/simgear/sound/xmlsound.hxx @@ -38,8 +38,8 @@ #include #include +#include "sample_group.hxx" #include "sample_openal.hxx" -#include "soundmgr_openal.hxx" static const double MAX_TRANSIT_TIME = 0.1; // 100 ms. @@ -99,11 +99,12 @@ 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 avionics A pointer to the pre-initialized avionics sample group. * @param path The path where the audio files remain. */ - virtual void init (SGPropertyNode *, SGPropertyNode *, SGSoundMgr *, - const string &); + virtual void init (SGPropertyNode *, SGPropertyNode *, SGSampleGroup *, + SGSampleGroup *, const SGPath& currentDir); /** * Check whether an event has happened and if action has to be taken. @@ -135,7 +136,7 @@ protected: private: - SGSoundMgr * _mgr; + SGSampleGroup * _sgrp; SGSharedPtr _sample; SGSharedPtr _condition;