[vorbis] ov_pcm_seek

Frank Heckenbach frank at g-n-u.de
Mon Mar 12 20:13:02 PST 2001



How do I seek back to the beginning of a stream using ov_pcm_seek()?
ov_pcm_seek(0) doesn't seem to do anything, though ov_pcm_tell()
returns 0 right after opening the stream.

I'm now using ov_pcm_seek(1) which seems to work, but I'm not sure
if that's really right. Are PCM offsets meant to be 0 or 1 based? Is
this a bug?

Frank


-- 
Frank Heckenbach, frank at g-n-u.de
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan

--- >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