X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d2d4dde456e17c1357b8b4cadded3202b0e6d7a..46ae103b9f08fc4e447d16a6a92b03cf55ee3189:/wxPython/src/media.i?ds=sidebyside diff --git a/wxPython/src/media.i b/wxPython/src/media.i index bb79be117f..d2db77b667 100644 --- a/wxPython/src/media.i +++ b/wxPython/src/media.i @@ -65,7 +65,7 @@ public: class wxMediaCtrl : public wxControl { public: - wxMediaCtrl() { wxPyRaiseNotImplemented(); } + wxMediaCtrl() { wxPyRaiseNotImplemented(); } wxMediaCtrl(wxWindow* , wxWindowID , const wxString& , @@ -102,6 +102,9 @@ public: wxFileOffset Tell() { return 0; } wxFileOffset Length() { return 0; } + + double GetVolume() { return 0.0; } + bool SetVolume(double dVolume) { return false; } }; const wxEventType wxEVT_MEDIA_FINISHED = 0; @@ -177,6 +180,9 @@ public: bool Pause(); bool Stop(); + double GetVolume(); //DirectShow only + bool SetVolume(double dVolume); //DirectShow only + bool Load(const wxString& fileName); %extend { bool LoadFromURI(const wxString& location) {