[Speex-dev] Speex seek with high precision
conrad at metadecks.org
Sat May 16 01:18:47 PDT 2009
2009/5/16 Arnau Alemany <arnau.alemany at gmail.com>:
> Hello Conrad,
> I'm trying to seek the way you told but I'm facing a problem.
> ogg_page_packets returns 164 and following code returns 189. Shouldn't it be
> the same, what does that means ?
> int res;
> while (true)
> res = ogg_stream_packetout(&os, &op);
> if (res == 1)
> if (res == -1)
> printf("out of sync\n");
> if (res == 0) // we need another page
you mean the number of packets counted is different? Perhaps you are
feeding pages in differently or something. Can you post your full
code, including the calls to ogg_stream_pagein()?
More information about the Speex-dev