Re: libmad know the current bytes read or decoded

Rob Leslie <[email protected]> Mon, 18 Jun 2007 13:45:45 -0700
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
On Jun 6, 2007, at 5:55 AM, [email protected] wrote:
> here I would like to know if it could be possible to know if we  
> could retrive the current byte read (an equivalent of ftell)
>
> aren't there any functions for it?

There's no function, but you can read stream->next_frame to determine  
how much of your buffer has been consumed.

-- 
Rob Leslie
[email protected]