[Speex-dev] Speex seek with high precision

Arnau Alemany arnau.alemany at gmail.com
Sat May 16 01:04:22 PDT 2009


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)
              nPackets++;

                    if (res == -1)
                        printf("out of sync\n");

                    if (res == 0)  // we need another page
              break;
}

Thanky you,
Arnau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20090516/0f783a51/attachment.htm 


More information about the Speex-dev mailing list