taglib/taglib — pull request #22 by buganini (2011-12-30 04:05:14+00:00)
Title: [RFC] extending C binding for filetype-specified manipulations

Here I've only done a small part, it works as the example to save mp3 file with id3v2.3 and without id3v1:

TagLib_File *file=taglib_file_tag(filename);
TagLib_Mpeg_File *mpeg=taglib_mpeg_file(file);
if(mpeg!=NULL){
taglib_mpeg_file_save3(mpeg, 0xffff, 0, 3);
taglib_mpeg_file_strip(mpeg, 0x0001);
}else{
taglib_file_save(file);
}
taglib_file_free(file);

Question:
Is this the right way to go?
How to expose TagLib::MPEG::File::TagTypes ? hard code?