diff options
Diffstat (limited to 'src/ui/MxcMediaProxy.cpp')
-rw-r--r-- | src/ui/MxcMediaProxy.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/MxcMediaProxy.cpp b/src/ui/MxcMediaProxy.cpp index 4127121b..39fdb155 100644 --- a/src/ui/MxcMediaProxy.cpp +++ b/src/ui/MxcMediaProxy.cpp @@ -43,7 +43,8 @@ MxcMediaProxy::MxcMediaProxy(QObject *parent) nhlog::ui()->debug("Set audio output"); auto newOut = new QAudioOutput(this); newOut->setMuted(muted_); - newOut->setVolume(volume_); + newOut->setVolume(QAudio::convertVolume( + volume_, QAudio::LogarithmicVolumeScale, QAudio::LinearVolumeScale)); setAudioOutput(newOut); } }); |