Re: [AD] implementing seek

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2010-04-08, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> Ok, if the al_fopen_slice 'length' parameter is a _maximum_ length,
> then you can pass INT_MAX or some other big number.  When the slice is
> closed we set the file position to initial_slice_pos + max_slice_length,
> or the end of the file, which comes first.

*whichever comes first. 




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/