[vorbis-dev] Another vorbisfile question
Michael Smith
msmith at xiph.org
Thu Dec 11 16:46:57 PST 2003
On Thursday 11 December 2003 20:45, John Morton wrote:
> Is there a straight forward method for seeking straight to a particular
> logical stream using vorbisfile?
Not really. It hasn't even been asked for.
>
> I'm guessing I'll have to look the offset for a given link up in
> vf->offsets, and use that in ov_raw_seek?
Yes, or (if you want to not mess around inside the vorbisfile struct) use
ov_pcm_total or ov_raw_total, and iterate over the links prior to the one you
want, then seek using the raw or pcm seek functions.
Mike
<p><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-dev-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-dev
mailing list