Skip to content

Commit c809df1

Browse files
committed
Temporarily disable engine sound
Mixing 1-bit sounds using the standard mixer gives poor results.
1 parent cff654f commit c809df1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pkg/audio/sound.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,9 @@ func (s *SoundSystem) updateEngine(speed domain.Speed) {
123123
return
124124
}
125125

126+
//nolint:staticcheck,gocritic // SA9003/commentedOutCode: engine sound intentionally disabled
126127
if !s.activeEngine.IsPlaying() {
127-
s.activeEngine.Play()
128+
// s.activeEngine.Play()
128129
}
129130
}
130131

0 commit comments

Comments
 (0)