audio: Use a new channel: We don't guarantee the exact condition when IsPlaying returns true/false

This commit is contained in:
Hajime Hoshi 2016-02-08 12:26:48 +09:00
parent 45329ab32f
commit 2097a5d822

View File

@ -112,7 +112,7 @@ func addNote() {
vol := 1.0 / 16.0
square(l, vol, freq, 0.25)
square(r, vol, freq, 0.25)
audio.Queue(0, toBytes(l, r))
audio.Queue(-1, toBytes(l, r))
}
func update(screen *ebiten.Image) error {