[vorbis] Accurate seeking in a streamed file?
Michael Smith
msmith at labyrinth.net.au
Thu Oct 10 05:32:37 PDT 2002
At 05:12 AM 10/10/02 -0700, you wrote:
>Hi,
>
>Is it possible to accurately seek to a certain
>position in an OGG file that is streamed off the
>hard-drive/CD?
Yes. Vorbis provides sample-accurate seeking (and indeed uses sample-
accurate seeking by default - less accurate seeking is available, but
not widely used by players).
ov_seek_pcm() will take an offset (from the start) in samples,
so for precise seeking this is the easiest function to use.
Mike
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis
mailing list