[vorbis] ov_pcm_seek() is very slow...

fungus spam at egg.chips.and.spam.com
Thu Mar 29 03:29:31 PST 2001



jaromil wrote:
> 
> On Thu, Mar 29, 2001 at 11:56:35AM +0100, fungus wrote:
> >
> > I realise the it's hard to do a seek in a variable bitrate
> > file but I didn't think it was this bad. It seems to vary
> > a lot with the file but the total time to do an ov_open()
> > and ov_pcm_seek() can add upp to a second or more. By this
> > time my DirectX buffers have wrapped around and are looping.
> 
> i'm using ov_pcm_seek_page() wich is giving me good performance on linux.
> 

What's the difference between ov_pcm_seek() and ov_pcm_seek_page()?


-- 
<\___/>
/ O O \
\_____/  FTB.

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