X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ed7f20de1a49f214273cb82ce0873c093b8123c..d0ee33f5c6908b4ac5e1364381f0ef00942e3936:/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) {