<br><br><div class="gmail_quote">On Thu, May 3, 2012 at 6:37 PM, Thomas CANIPEL (4SH France) <span dir="ltr"><<a href="mailto:thomas.canipel@4sh.fr" target="_blank">thomas.canipel@4sh.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div link="blue" vlink="purple" lang="FR"><div><p class="MsoNormal">Dear Members,<u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Is there a way  to use TagLib by passing a buffer ( representing the music) rather than passing a file path ?<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">(in my case it’s a restricted case as it is only a ID3v2 Tag.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">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* ..)  ?<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div></blockquote><div><br>Hi Thomas,<br><br>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.<br>

<br>Nikhil <br></div></div>