X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07323ed6f0f8d9381d5c4c50e6150aa439bc628f..58e041b75320b509fe01cfb9d7057990e4a60f04:/include/wx/mediactrl.h?ds=sidebyside diff --git a/include/wx/mediactrl.h b/include/wx/mediactrl.h index f8458d3d25..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,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() {}