TagLib in XBMC
Lukáš Lalinský
lalinsky at gmail.com
Sun Jan 30 13:59:59 CET 2011
On Sun, Jan 30, 2011 at 1:52 PM, Scott Wheeler <wheeler at kde.org> wrote:
>
> On Jan 30, 2011, at 4:47 AM, Lukáš Lalinský wrote:
>
> > As I mentioned earlier, this is a planned feature for the next major
> > version (I don't see a way to do it without breaking binary
> > compatibility)
>
> I think it could be done if you allowed TagLib::File to take a handle
> instead of a file name and then that handle would be sent all of the
> calls rather than them being implemented in TagLib::File, but that's
> rather inelegant compared to doing things with a base TagLib::Stream
> class or similar of which TagLib::File is just an instance.
The main problem I see that if we add a new TagLib::File's
constructor, we have to add it to all its subclasses. Maybe that's not
such a big problem though.
Lukas
More information about the taglib-devel
mailing list