public
Description: Io programming language
Homepage: http://iolanguage.com
Clone URL: git://github.com/stevedekorte/io.git
Fix building the TagLib addon:
Call `taglib_file_tag' instead of `taglib_file_newTag' in IoTagLib.c
The latter isn't defined in TagLib 1.5.
mkhl (author)
Wed Mar 26 08:31:02 -0700 2008
commit  7e62ed7b42c0e881f0af7d5bfb6b0af25c4df63b
tree    3e554c06e7a0d769d5824c75a541bb8c61744921
parent  52b41cdce19e29886c9c31a1374cb7667d356bf2
...
86
87
88
89
 
90
91
92
...
127
128
129
130
 
131
132
133
...
86
87
88
 
89
90
91
92
...
127
128
129
 
130
131
132
133
0
@@ -86,7 +86,7 @@ IoObject *IoTagLib_load(IoTagLib *self, IoObject *locals, IoMessage *m)
0
 
0
   IOASSERT(file, "unable to open file");
0
 
0
- tag = (TagLib_Tag *)taglib_file_newTag(file);
0
+ tag = (TagLib_Tag *)taglib_file_tag(file);
0
   properties = taglib_file_audioproperties(file);
0
 
0
   IoObject_setSlot_to_(self, IOSYMBOL("title"), IOSYMBOL(taglib_tag_title(tag)));
0
@@ -127,7 +127,7 @@ IoObject *IoTagLib_save(IoTagLib *self, IoObject *locals, IoMessage *m)
0
 
0
   IOASSERT(file, "unable to open file");
0
 
0
- tag = (TagLib_Tag *)taglib_file_newTag(file);
0
+ tag = (TagLib_Tag *)taglib_file_tag(file);
0
 
0
   taglib_tag_set_title(tag, CSTRING(IoObject_seqGetSlot_(self, IOSYMBOL("title"))));
0
   taglib_tag_set_album(tag, CSTRING(IoObject_seqGetSlot_(self, IOSYMBOL("album"))));

Comments

    No one has commented yet.