[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src/engine/phonon
From: Mark Kretschmann <markey () web ! de>
Date: 2007-04-20 7:12:49
Message-ID: 1177053169.492406.1357.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 656081 by markey:
Fix volume setting. setVolume() takes a float.
M +3 -3 phonon-engine.cpp
--- trunk/extragear/multimedia/amarok/src/engine/phonon/phonon-engine.cpp #656080:656081
@@ -206,12 +206,12 @@
}
void
-PhononEngine::setVolumeSW( uint vol )
+PhononEngine::setVolumeSW( uint volume )
{
if( m_audioOutput )
{
- debug() << "New volume:" << vol << endl;
- m_audioOutput->setVolume( vol );
+ const float v = volume * 0.01;
+ m_audioOutput->setVolume( v );
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic