[physfs] PHYSFS_seek is too simple

Tim Čas darkuranium at gmail.com
Mon Dec 3 11:11:44 EST 2012


Well, see the answer in that SO.com question -- use `PHYSFS_tell()` to get
the current location, calculate the pos according to `type` (see
`AR_seekOgg()` in that answer), and then use `PHYSFS_seek()`.

On 3 December 2012 17:07, fy <fy0748 at gmail.com> wrote:

> I tried to make vobisogg works with physfs.
>
> (ref: http://stackoverflow.com/**questions/13437422/libvorbis-**
> audio-decode-from-memory-in-c<http://stackoverflow.com/questions/13437422/libvorbis-audio-decode-from-memory-in-c>
> )
>
> When I use PHYSFS_seek, I found only two parameters, is not match with
> fseek.
>
> Any way to resolve the problem?
>
>
> --
> 使用Opera的电子邮件客户端:http://www.**opera.com/mail/ <http://www.opera.com/mail/>
> ______________________________**_________________
> physfs mailing list
> physfs at icculus.org
> http://icculus.org/mailman/**listinfo/physfs<http://icculus.org/mailman/listinfo/physfs>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20121203/a9780123/attachment.htm>


More information about the physfs mailing list