TagLib usage by a buffer not a file
Thomas CANIPEL (4SH France)
thomas.canipel at 4sh.fr
Wed May 23 08:31:31 UTC 2012
Hi Nikhil, works fine extending IOStream class.
Thanks for the info !
De : taglib-devel-bounces at kde.org [mailto:taglib-devel-bounces at kde.org] De
la part de Nikhil Marathe
Envoyé : samedi 5 mai 2012 22:51
À : taglib-devel at kde.org
Objet : Re: TagLib usage by a buffer not a file
On Thu, May 3, 2012 at 6:37 PM, Thomas CANIPEL (4SH France)
<thomas.canipel at 4sh.fr> wrote:
Is there a way to use TagLib by passing a buffer ( representing the music)
rather than passing a file path ?
(in my case its a restricted case as it is only a ID3v2 Tag.
I am looking into the code, but I dont know where to begin, should I
investigate the TagLib::ID3v2::Tag class ( but as to use it properly it
needs a TagLib::File* ..) ?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the taglib-devel