Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Vorbis
Vorbis
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • VorbisVorbis
  • Issues
  • #154

Closed
Open
Opened Feb 11, 2002 by d00jkr@d00jkr

Raw seeking in small ogg files isnt working

When using seeking_example on the test ogg-file, something goes wrong:

loading....
testing raw seeking to random places in 4148 bytes....
    172 [raw position 17]...data position after seek doesn't match pcm position


In my game im using a mixer that decodes data from diff. ogg streams. I need to
be able to take a "stamp" of where i am currently in a stream, and then be able
to jump back to it later. The streams are relatively small, (about 5000 bytes in
the OggVorbis format) , Im trying to use ov_raw_seek and ov_raw_tell, but they
somehow give me wrong values. ov_pcm_tell and ov_pcm_seek work fine (but they
are too slow)
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/vorbis#154