Yes, it's possible with the sources i am going to upload tomorrow. It has=
a streamreader. I've wanted to upload those sources=20
to cvs weeks ago, but again and again there was a delay for some reason o=
r the other. But it looks like i have time tomorrow=20
On Thu, Sep 12, 2002 at 04:33:04PM +0200, Olivier Brunet wrote:
> I'm trying to use id3lib but isntead of getting data
> from a plain file I'm trying to feed Id3Lib from a c++
> stream (std::istream). I found the ID3_IStreamReader
> class which seems to be what I need. I use Id3lib like
> ID3_Tag tag;
> ID3_Frame *myFrame;=09
> ID3_IStreamReader sr(*stream);=09
> const Mp3_Headerinfo* mp3info;
> tag.Parse(sr); =09
> // blah
> if( (myFrame =3D tag.Find (ID3FID_TITLE)) )
> // blah
> The tag parsing seems ok, ie tag.Find() effectively
> finds something, but GetMp3HeaderInfo() always returns
> NULL. I looked at the source and it seems the
> mp3headerinfo object is never created in TagImpl when
> using the stream path, it is created only when using
> the ParseFile() used only in the 'file' path mode.
> Am I wrong ? Is there a way to get mp3headerinfo from
> a stream (istream are seekable after all) ?
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=E7ais !
> Yahoo! Mail : http://fr.mail.yahoo.com
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> id3lib-devel mailing list