[vorbis] Exact decode positioning

Paul Noffke paul at mindwalk.co.uk
Thu Jan 23 14:28:53 PST 2003



Hi,

I'm busy working on a method of synchronising playback between two ogg 
decoders.  To do this reliably, I need to create a cross-reference of the 
raw & pcm offsets in the bitstream.  I have tried using the ov_raw/pcm_tell 
calls, but it appears as if the ov_raw_tell() only updates itsself in steps 
of 4096 bytes (as each read callback is done).  This gives me a 
cross-reference every 120ms or so, which isn't quite often enough for my 
application.

Is there anyway of finding the codec's position in the raw stream more 
precisely (e.g. whenever a frame is decoded)?

Regards
Paul

<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