TocEntry

Undocumented in source.

Constructors

this
this(GstTocEntry* gstTocEntry)

Sets our main struct and passes it to the parent class.

this
this(GstTocEntryType type, string uid)

Create new #GstTocEntry structure.

Members

Functions

appendSubEntry
void appendSubEntry(TocEntry subentry)

Appends the #GstTocEntry @subentry to @entry.

getEntryType
GstTocEntryType getEntryType()

Return: @entry's entry type

getLoop
bool getLoop(GstTocLoopType loopType, int repeatCount)

Get @loop_type and @repeat_count values from the @entry and write them into appropriate storages. Loops are e.g. used by sampled instruments. GStreamer is not automatically applying the loop. The application can process this meta data and use it e.g. to send a seek-event to loop a section.

getParent
TocEntry getParent()

Gets the parent #GstTocEntry of @entry.

getStartStopTimes
bool getStartStopTimes(long start, long stop)

Get @start and @stop values from the @entry and write them into appropriate storages.

getStruct
void* getStruct()

the main Gtk struct as a void*

getSubEntries
ListG getSubEntries()

Gets the sub-entries of @entry.

getTags
TagList getTags()

Gets the tags for @entry.

getToc
Toc getToc()

Gets the parent #GstToc of @entry.

getTocEntryStruct
GstTocEntry* getTocEntryStruct()

Get the main Gtk struct

getUid
string getUid()

Gets the UID of @entry.

isAlternative
bool isAlternative()

Return: %TRUE if @entry's type is an alternative type, otherwise %FALSE

isSequence
bool isSequence()

Return: %TRUE if @entry's type is a sequence type, otherwise %FALSE

mergeTags
void mergeTags(TagList tags, GstTagMergeMode mode)

Merge @tags into the existing tags of @entry using @mode.

setLoop
void setLoop(GstTocLoopType loopType, int repeatCount)

Set @loop_type and @repeat_count values for the @entry.

setStartStopTimes
void setStartStopTimes(long start, long stop)

Set @start and @stop values for the @entry.

setTags
void setTags(TagList tags)

Set a #GstTagList with tags for the complete @entry.

Static functions

getType
GType getType()

Variables

gstTocEntry
GstTocEntry* gstTocEntry;

the main Gtk struct

Meta