[Vorbis-dev] How can I seek in Ogg Vorbis file, but not using Vorbisfile library?

隽 徐 china_xujun at yahoo.com.cn
Tue Aug 29 03:02:44 PDT 2006


Hello, All.
   
  I am making an Ogg Vorbis decoder based on Tremor. The Vorbisfile library provides a high-level API which enables us to seek in the file, but it needs to declare a pointer to OggVorbis_File structure.
   
  Because I am supposed not to use file, so I can't use the ov_pcm_seek() or ov_raw_seek() functions to seek in the file. For decoding an Ogg Vorbis file, I first put it in a buffer, then use API provided by libogg and libvorbis to decode it, and put the PCM in ouput buffer.
   
  Now I have a problem, how to seek in the Ogg Vorbis file not using Vorbisfile library? That means, I can only use API provided by libogg and libvorbis libraries, and I didn't find an example.
   
  I hope someone can help me to solve this problem. And an example will be most grateful. 
   
  Thank you.
   
  Best wishes,
  Susan

 __________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20060829/a28c8572/attachment.htm


More information about the Vorbis-dev mailing list