]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/sample_openal.hxx
Add a HLADataElementVisitor implementation.
[simgear.git] / simgear / sound / sample_openal.hxx
index b2afba4f33fd1da89f138e491b038e115d0625dc..9e816c21aaf9aed5316003e9f590135829258a3c 100644 (file)
@@ -82,7 +82,7 @@ public:
     /**
      * Destructor
      */
-    ~SGSoundSample ();
+    virtual ~SGSoundSample ();
 
     /**
      * Detect wheter this audio sample holds the information of a sound file.
@@ -118,7 +118,7 @@ public:
      * @param _loop Define whether this sound should be played in a loop.
      */
     void play( bool loop = false ) {
-        _playing = true; _loop = loop; _changed = true;
+        _playing = true; _loop = loop; _changed = true; _static_changed = true;
     }
 
     /**