]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mediactrl.h
Applied patch [ 1195797 ] Fixes to compile on Win64
[wxWidgets.git] / include / wx / mediactrl.h
index f8458d3d251da11a90c6ef4c3c15cc3bbae91196..9646aeed81d6db9b1da8da320c33264162648334 100644 (file)
@@ -190,6 +190,9 @@ public:
     double GetPlaybackRate();           //All but MCI & GStreamer
     bool SetPlaybackRate(double dRate); //All but MCI & GStreamer
 
+    double GetVolume();                 //DirectShow only
+    bool   SetVolume(double dVolume);   //DirectShow only
+
 protected:
     static wxClassInfo* NextBackend();
 
@@ -270,8 +273,11 @@ public:
     virtual wxMediaState GetState()
     {   return wxMEDIASTATE_STOPPED;    }
 
-    virtual void RESERVED1() {}
-    virtual void RESERVED2() {}
+    virtual double GetVolume()
+    {   return 0.0;                     }
+    virtual bool SetVolume(double WXUNUSED(dVolume))
+    {   return false;                   }
+
     virtual void RESERVED3() {}
     virtual void RESERVED4() {}
     virtual void RESERVED5() {}