public static SongFrame NewCodec(string codec) { IntPtr codec_ptr = Utility.Utf8StringToPtr(codec); SongFrame frame = new SongFrame(NJB_Songid_Frame_New_Codec(codec_ptr)); Utility.FreeStringPtr(codec_ptr); return frame; }