TocEntry

Constructors

this
this(GstTocEntry* gstTocEntry, bool ownedRef)

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

this
this(GstTocEntryType type, string uid)

Create new gstreamer.TocEntry structure.

Members

Functions

appendSubEntry
void appendSubEntry(TocEntry subentry)

Appends the gstreamer.TocEntry subentry to entry.

getEntryType
GstTocEntryType getEntryType()
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 gstreamer.TocEntry 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 gstreamer.Toc of entry.

getTocEntryStruct
GstTocEntry* getTocEntryStruct(bool transferOwnership)

Get the main Gtk struct

getUid
string getUid()

Gets the UID of entry.

isAlternative
bool isAlternative()
isSequence
bool isSequence()
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 gstreamer.TagList with tags for the complete entry.

Static functions

getType
GType getType()

Variables

gstTocEntry
GstTocEntry* gstTocEntry;

the main Gtk struct