TimedValueControlSource

Base class for #GstControlSource that use time-stamped values.

When overriding bind, chain up first to give this bind implementation a chance to setup things.

All functions are MT-safe.

Members

Functions

connectValueAdded
ulong connectValueAdded(T callback, Flag!"After" after)

Connect to ValueAdded signal.

connectValueChanged
ulong connectValueChanged(T callback, Flag!"After" after)

Connect to ValueChanged signal.

connectValueRemoved
ulong connectValueRemoved(T callback, Flag!"After" after)

Connect to ValueRemoved signal.

findControlPointIter
glib.sequence_iter.SequenceIter findControlPointIter(gst.types.ClockTime timestamp)

Find last value before given timestamp in control point list. If all values in the control point list come after the given timestamp or no values exist, null is returned.

getAll
gst.types.TimedValue[] getAll()

Returns a read-only copy of the list of #GstTimedValue for the given property. Free the list after done with it.

getCount
int getCount()

Get the number of control points that are set.

set
bool set(gst.types.ClockTime timestamp, double value)

Set the value of given controller-handled property at a certain time.

setFromList
bool setFromList(gst.types.TimedValue[] timedvalues)

Sets multiple timed values at once.

unset
bool unset(gst.types.ClockTime timestamp)

Used to remove the value of given controller-handled property at a certain time.

unsetAll
void unsetAll()

Used to remove all time-stamped values of given controller-handled property

Inherited Members

From ControlSource

controlSourceGetValue
bool controlSourceGetValue(gst.types.ClockTime timestamp, double value)

Gets the value for this #GstControlSource at a given timestamp.

controlSourceGetValueArray
bool controlSourceGetValueArray(gst.types.ClockTime timestamp, gst.types.ClockTime interval, double[] values)

Gets an array of values for for this #GstControlSource. Values that are undefined contain NANs.