Applied patch [ 1204548 ] Add Get and SetVolume to wxMediaCtrl and fix bug 1200182
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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() {}
|
||||
|
Reference in New Issue
Block a user