Skip to content

Commit

Permalink
inc/decr volume by smaller amount
Browse files Browse the repository at this point in the history
  • Loading branch information
iljarotar committed Feb 5, 2025
1 parent 30307ae commit 55443c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synth/synth.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (s *Synth) NotifyFadeOutDone(notify chan bool) {
}

func (s *Synth) IncreaseVolume() {
vol := s.Volume + 0.02
vol := s.Volume + 0.01
if vol > maxVolume {
vol = maxVolume
}
Expand All @@ -123,7 +123,7 @@ func (s *Synth) IncreaseVolume() {
}

func (s *Synth) DecreaseVolume() {
vol := s.Volume - 0.02
vol := s.Volume - 0.01
if vol < 0 {
vol = 0
}
Expand Down

0 comments on commit 55443c6

Please sign in to comment.