<DIV>Hello, All.</DIV> <DIV> </DIV> <DIV>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.</DIV> <DIV> </DIV> <DIV>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.</DIV> <DIV> </DIV> <DIV>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.</DIV> <DIV> </DIV> <DIV>I hope someone can help me to solve this problem. And an example will be most grateful. </DIV> <DIV> </DIV> <DIV>Thank
you.</DIV> <DIV> </DIV> <DIV>Best wishes,</DIV> <DIV>Susan</DIV><p> __________________________________________________<br>赶快注册雅虎超大容量免费邮箱?<br>http://cn.mail.yahoo.com