Top | ![]() |
![]() |
![]() |
![]() |
Itdb_Chapter * | itdb_chapter_new () |
Itdb_Chapter * | itdb_chapter_duplicate () |
void | itdb_chapter_free () |
Itdb_Chapterdata * | itdb_chapterdata_new () |
gboolean | itdb_chapterdata_add_chapter () |
Itdb_Chapterdata * | itdb_chapterdata_duplicate () |
void | itdb_chapterdata_remove_chapter () |
void | itdb_chapterdata_remove_chapters () |
void | itdb_chapterdata_unlink_chapter () |
void | itdb_chapterdata_free () |
Chapters allow for a large file to be divided into sections. The start and stop points in the track are defined here, as well as the title for each chapter.
Itdb_Chapter *
itdb_chapter_duplicate (Itdb_Chapter *chapter
);
Duplicates the data contained in chapter
Since: 0.7.0
void
itdb_chapter_free (Itdb_Chapter *chapter
);
Frees the memory used by chapter
Since: 0.7.0
Itdb_Chapterdata *
itdb_chapterdata_new (void
);
Creates a new Itdb_Chapterdata
Since: 0.7.0
gboolean itdb_chapterdata_add_chapter (Itdb_Chapterdata *chapterdata
,guint32 startpos
,gchar *chaptertitle
);
Appends a chapter to existing chapters in chapterdata
.
Since: 0.7.0
Itdb_Chapterdata *
itdb_chapterdata_duplicate (Itdb_Chapterdata *chapterdata
);
Duplicates chapterdata
Since: 0.7.0
void itdb_chapterdata_remove_chapter (Itdb_Chapterdata *chapterdata
,Itdb_Chapter *chapter
);
Removes chapter
from chapterdata
. The memory used by chapter
is freed.
Since: 0.7.0
void
itdb_chapterdata_remove_chapters (Itdb_Chapterdata *chapterdata
);
Removes all chapters from chapterdata
Since: 0.7.0
void itdb_chapterdata_unlink_chapter (Itdb_Chapterdata *chapterdata
,Itdb_Chapter *chapter
);
void
itdb_chapterdata_free (Itdb_Chapterdata *chapterdata
);
Frees memory used by chapterdata
Since: 0.7.0
struct Itdb_Chapter { guint32 startpos; gchar *chaptertitle; /* reserved for future use */ gint32 reserved_int1; gint32 reserved_int2; gpointer reserved1; gpointer reserved2; };
Structure representing an iTunesDB Chapter
The start position of the chapter in ms. The first chapter begins at 1. |
||
The chapter title in UTF8 |
||
Reserved for future use |
||
Reserved for future use |
||
Reserved for future use |
||
Reserved for future use |
Since: 0.7.0
struct Itdb_Chapterdata { GList *chapters; guint32 unk024; guint32 unk028; guint32 unk032; /* reserved for future use */ gint32 reserved_int1; gint32 reserved_int2; gpointer reserved1; gpointer reserved2; };
Structure representing iTunesDB Chapter data
A list of chapters (Itdb_Chapter) |
||
Unknown |
||
Unknown |
||
Unknown |
||
Reserved for future use |
||
Reserved for future use |
||
Reserved for future use |
||
Reserved for future use |
Since: 0.7.0