examples/audioinfiniteloop: Fix a wrong comment

This commit is contained in:
Hajime Hoshi 2020-04-22 21:57:15 +09:00 committed by GitHub
parent 7ad3343e9c
commit 9c1b99bd26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,8 +56,8 @@ func (g *Game) Update(screen *ebiten.Image) error {
return nil
}
// Decode the wav file.
// wavS is a decoded io.ReadCloser and io.Seeker.
// Decode an Ogg file.
// oggS is a decoded io.ReadCloser and io.Seeker.
oggS, err := vorbis.Decode(audioContext, audio.BytesReadSeekCloser(raudio.Ragtime_ogg))
if err != nil {
return err