Reduce the maximal volume

This commit is contained in:
nemunaire 2023-11-04 09:50:59 +01:00
parent 0a15d514a2
commit ea1724e2ca

View File

@ -180,7 +180,7 @@ loop:
go p.launchAction(p.weatherAction) go p.launchAction(p.weatherAction)
} else { } else {
p.dontUpdateVolume = false p.dontUpdateVolume = false
p.volume = 3500 + uint16(math.Log(1+float64(p.ntick)/8)*9500) p.volume = uint16(math.Log(1+float64(p.ntick)/8) * 9500)
p.SetVolume(p.volume) p.SetVolume(p.volume)
if p.reverseOrder { if p.reverseOrder {