[vlc-devel] [PATCH] activex: update initial volume value

Daniel Amm da2424 at t-online.de
Sat Jul 25 12:41:42 CEST 2015


The initial volume of libvlc is 100
This allows the user to set the volume to 50
---
 activex/plugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/activex/plugin.cpp b/activex/plugin.cpp
index 9d59da2..e712bf4 100644
--- a/activex/plugin.cpp
+++ b/activex/plugin.cpp
@@ -384,7 +384,7 @@ HRESULT VLCPlugin::onInit(void)
     _bstr_mrl     = NULL;
     _b_visible    = TRUE;
     _b_mute       = FALSE;
-    _i_volume     = 50;
+    _i_volume     = 100;
     _i_time       = 0;
     _i_backcolor  = 0;
     // set default/preferred size (320x240) pixels in HIMETRIC
-- 
2.1.4




More information about the vlc-devel mailing list