From 3cac19d1b8b80abc4aca37e4a57768d926211577 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 15 Jul 2017 00:55:39 +0900 Subject: [PATCH] examples/audio: Remove 'loading' message --- examples/audio/main.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/audio/main.go b/examples/audio/main.go index fb86fa043..248f77b8a 100644 --- a/examples/audio/main.go +++ b/examples/audio/main.go @@ -93,7 +93,6 @@ type Player struct { seBytes []uint8 seCh chan []uint8 volume128 int - previousPos time.Duration } var ( @@ -264,12 +263,6 @@ Press S to toggle Play/Pause Press P to play SE Press Z or X to change volume of the music %s`, ebiten.CurrentFPS(), currentTimeStr) - current := p.audioPlayer.Current() - prev := p.previousPos - p.previousPos = p.audioPlayer.Current() - if p.audioPlayer.IsPlaying() && prev == current { - msg += "\nLoading..." - } ebitenutil.DebugPrint(screen, msg) }