X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ed7f20de1a49f214273cb82ce0873c093b8123c..3a9becbd5439254a77e7dbc0278d80117a397264:/wxPython/src/media.i diff --git a/wxPython/src/media.i b/wxPython/src/media.i index b8b8ebb870..d2db77b667 100644 --- a/wxPython/src/media.i +++ b/wxPython/src/media.i @@ -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) {