diff --git a/exp/audio/audio_openal.go b/exp/audio/audio_openal.go index bd73aca4a..205ff1aba 100644 --- a/exp/audio/audio_openal.go +++ b/exp/audio/audio_openal.go @@ -20,6 +20,7 @@ import ( "fmt" "io" "runtime" + "time" "golang.org/x/mobile/exp/audio/al" ) @@ -90,6 +91,9 @@ func (p *player) proceed() error { if err != nil { return err } + if n == 0 { + time.Sleep(1) + } } if p.alSource.State() == al.Stopped {