Skip to content

Seek support #16

Closed
Closed
@mewmew

Description

@mewmew

From flac.go:

// TODO: Implement a Seek method.

Creating this issue to facilitate an open discussion on how we may implement audio seek support in the future. What do we need to keep in mind?

  • Performance?
  • How should the API look like?
  • Should we require a seek table to be present in the metadata?
  • Should we make use of the sync codes to seek when no seek table is present?
  • Will we require the underlying stream to implement io.Seeker?

Some notes from the x/audio proposal:

@rakyll wrote at golang/go#13432 (comment)

Seeking is often expensive, we may adopt an io.ReadSeeker-like interface to make Seek a standalone operation to put some more emphasis on its cost.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions