audio/vorbis: Add comment

This commit is contained in:
Hajime Hoshi 2016-11-29 03:36:42 +09:00
parent bf4e453cdb
commit 5789ad6920

View File

@ -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)
} }