1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 10:48:33 +01:00

Phonon already makes volume logarithmic - no need to do it twice.

Fixes issue #8.
This commit is contained in:
David Sansome 2010-02-24 20:23:12 +00:00
parent 0c6121ac94
commit 27fe713113

View File

@ -81,8 +81,8 @@ void PhononEngine::seek(uint ms) {
media_object_->seek(ms);
}
void PhononEngine::setVolumeSW(uint percent) {
audio_output_->setVolume(qreal(percent) / 100.0);
void PhononEngine::setVolumeSW(uint) {
audio_output_->setVolume(qreal(m_volume) / 100.0);
}
void PhononEngine::PhononFinished() {