Help:How to get the time stamp for player (not system time, it need return the position time stamp)

cnmmd <[email protected]> Thu, 11 Aug 2005 11:02:17 +0800
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
Hi,

I’m studying the minimad, in this function:



static

enum mad_flow output(void *data,

                 struct mad_header const *header,

                 struct mad_pcm *pcm)

{

….

}



1.How to get the total time of a mp3 file?

2.How to get the time stamp for player (not system time, it need return  
the position time stamp)?



Can somebody help me? Thanks a lot.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/