[vlmc-devel] commit: VLCMediaPlayer.cpp: Remove divide by two...(what was I thinking) ( Rohit Yadav )

git at videolan.org git at videolan.org
Sun Sep 26 23:13:36 CEST 2010


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Mon Sep 27 03:00:53 2010 +0530| [154d09713b2e80e5e52ad11b8cfc8f174a31f7df] | committer: Rohit Yadav 

VLCMediaPlayer.cpp: Remove divide by two...(what was I thinking)

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=154d09713b2e80e5e52ad11b8cfc8f174a31f7df
---

 src/LibVLCpp/VLCMediaPlayer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/LibVLCpp/VLCMediaPlayer.cpp b/src/LibVLCpp/VLCMediaPlayer.cpp
index f97500d..d60a86e 100644
--- a/src/LibVLCpp/VLCMediaPlayer.cpp
+++ b/src/LibVLCpp/VLCMediaPlayer.cpp
@@ -166,7 +166,7 @@ int
 MediaPlayer::setVolume( int volume )
 {
     //Returns 0 if the volume was set, -1 if it was out of range
-    return libvlc_audio_set_volume( m_internalPtr, volume / 2 );
+    return libvlc_audio_set_volume( m_internalPtr, volume );
 }
 
 qint64



More information about the Vlmc-devel mailing list