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:
parent
0c6121ac94
commit
27fe713113
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user