#include <simgear/structure/exception.hxx>
#include "sample_openal.hxx"
+#include "sample_queue.hxx"
using std::map;
using std::string;
/**
* Destructor
*/
- ~SGSampleGroup ();
+ virtual ~SGSampleGroup ();
/**
* Set the status of this sample group to active.
*/
SGSoundSample *find( const string& refname );
+ /**
+ * Stop all playing samples and set the source id to invalid.
+ */
+ void stop();
+
/**
* Request to stop playing all audio samples until further notice.
*/