X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4153a503baf39651e455b45e8d7e991f318d8710..14ddc4d7eb098f0f4da3ecea23617717d40ed9b1:/include/wx/mediactrl.h diff --git a/include/wx/mediactrl.h b/include/wx/mediactrl.h index 3791a7e26b..9646aeed81 100644 --- a/include/wx/mediactrl.h +++ b/include/wx/mediactrl.h @@ -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,6 +273,19 @@ public: virtual wxMediaState GetState() { return wxMEDIASTATE_STOPPED; } + virtual double GetVolume() + { return 0.0; } + virtual bool SetVolume(double WXUNUSED(dVolume)) + { return false; } + + virtual void RESERVED3() {} + virtual void RESERVED4() {} + virtual void RESERVED5() {} + virtual void RESERVED6() {} + virtual void RESERVED7() {} + virtual void RESERVED8() {} + virtual void RESERVED9() {} + DECLARE_DYNAMIC_CLASS(wxMediaBackend) };