TagLib usage by a buffer not a file
Nikhil Marathe
nsm.nikhil at gmail.com
Sat May 5 20:50:59 UTC 2012
On Thu, May 3, 2012 at 6:37 PM, Thomas CANIPEL (4SH France) <
thomas.canipel at 4sh.fr> wrote:
> Dear Members,****
>
> ** **
>
> Is there a way to use TagLib by passing a buffer ( representing the
> music) rather than passing a file path ?****
>
> (in my case it’s a restricted case as it is only a ID3v2 Tag.****
>
> ** **
>
> I am looking into the code, but I don’t know where to begin, should I
> investigate the TagLib::ID3v2::Tag class ( but as to use it properly it
> needs a TagLib::File* ..) ?****
>
> ** **
>
Hi Thomas,
TagLib v1.8 (not yet released, see github master) supports IOStream. You
can extend the IOStream class to support your buffer and then TagLib will
handle it.
Nikhil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/taglib-devel/attachments/20120506/d6196178/attachment.html>
More information about the taglib-devel
mailing list