mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 19:22:49 +01:00
examples/audioinfiniteloop: Fix a wrong comment
This commit is contained in:
parent
7ad3343e9c
commit
9c1b99bd26
@ -56,8 +56,8 @@ func (g *Game) Update(screen *ebiten.Image) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Decode the wav file.
|
// Decode an Ogg file.
|
||||||
// wavS is a decoded io.ReadCloser and io.Seeker.
|
// oggS is a decoded io.ReadCloser and io.Seeker.
|
||||||
oggS, err := vorbis.Decode(audioContext, audio.BytesReadSeekCloser(raudio.Ragtime_ogg))
|
oggS, err := vorbis.Decode(audioContext, audio.BytesReadSeekCloser(raudio.Ragtime_ogg))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user