From 32605cd55791a558043d3d9ef71e5a39595f1b10 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 25 Apr 2020 02:00:46 +0200 Subject: [PATCH] [AFV] Finer granularity for inc./dec. volume (hotkey) --- src/blackcore/context/contextaudio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/blackcore/context/contextaudio.cpp b/src/blackcore/context/contextaudio.cpp index 72dbe42f0..4b8ce073a 100644 --- a/src/blackcore/context/contextaudio.cpp +++ b/src/blackcore/context/contextaudio.cpp @@ -590,14 +590,14 @@ namespace BlackCore void CContextAudioBase::audioIncreaseVolume(bool enabled) { if (!enabled) { return; } - const int v = qRound(this->getVoiceOutputVolume() * 1.2); + const int v = qRound(this->getVoiceOutputVolume() * 1.05); this->setVoiceOutputVolume(v); } void CContextAudioBase::audioDecreaseVolume(bool enabled) { if (!enabled) { return; } - const int v = qRound(this->getVoiceOutputVolume() / 1.2); + const int v = qRound(this->getVoiceOutputVolume() / 1.05); this->setVoiceOutputVolume(v); }