#include <plib/sl.h>
#include <plib/sm.h>
-FG_USING_STD(map);
-FG_USING_STD(string);
+#include <simgear/timing/timestamp.hxx>
+
+SG_USING_STD(map);
+SG_USING_STD(string);
// manages everything we need to know for an individual sound sample
smMixer *audio_mixer;
sound_map sounds;
+ SGTimeStamp last;
+ double safety;
+
public:
FGSoundMgr();
// return true of the specified sound exists in the sound manager system
bool exists( const string& refname );
+ // return a pointer to the FGSimpleSound if the specified sound
+ // exists in the sound manager system, otherwise return NULL
+ FGSimpleSound *find( const string& refname );
+
// tell the scheduler to play the indexed sample in a continuous
// loop
bool play_looped( const string& refname );