X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fsound%2Fsample_group.hxx;h=d2d47394d4530a32a33f68db431e4212f5e6638b;hb=1f37095087fa7aa3d210ba134058b86c3bd6d69e;hp=c0b0fdc6b6c2f5a676ee988587f4095d11debd1e;hpb=5b2af1f6b353078e0662453bb74bc7d80dc31a6b;p=simgear.git diff --git a/simgear/sound/sample_group.hxx b/simgear/sound/sample_group.hxx index c0b0fdc6..d2d47394 100644 --- a/simgear/sound/sample_group.hxx +++ b/simgear/sound/sample_group.hxx @@ -128,6 +128,11 @@ public: */ 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. */