Added value for notification volume in sound setting

This commit is contained in:
Klaus Basan
2019-04-30 12:32:54 +02:00
parent 9a3ef1e82e
commit a764a2de7e
4 changed files with 24 additions and 5 deletions

View File

@@ -449,7 +449,9 @@ namespace BlackCore
}
}
m_notificationPlayer.play(notification, 90);
int volume = 90;
if (considerSettings) { volume = qMax(25, settings.getNotificationVolume()); }
m_notificationPlayer.play(notification, 100);
}
void CContextAudio::enableAudioLoopback(bool enable)