mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
audio/vorbis: Add comment
This commit is contained in:
parent
bf4e453cdb
commit
5789ad6920
@ -32,6 +32,8 @@ func (s *Stream) Read(p []byte) (int, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Seek is implementation of io.Seeker's Seek.
|
// Seek is implementation of io.Seeker's Seek.
|
||||||
|
//
|
||||||
|
// Note that Seek can take long since decoding is a relatively heavy task.
|
||||||
func (s *Stream) Seek(offset int64, whence int) (int64, error) {
|
func (s *Stream) Seek(offset int64, whence int) (int64, error) {
|
||||||
return s.decoded.Seek(offset, whence)
|
return s.decoded.Seek(offset, whence)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user