gstcontroller.timed_value_control_source
Module for [TimedValueControlSource] class
Types 3
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.
Methods
TimedValueControlSource self()Returns `this`, for use in `with` statements.TimedValueControlSourceGidBuilder builder()Get builder for [gstcontroller.timedvaluecontrol_source.TimedValueControlSource] Returns: New builder objectglib.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.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. Returns: a copy of the list, or null if the property isn't handled by the controllerint getCount()Get the number of control points that are set. Returns: the number of control points that are set.bool set(gst.types.ClockTime timestamp, double value)Set the value of given controller-handled property at a certain time.bool setFromList(gst.types.TimedValue[] timedvalues)Sets multiple timed values at once.bool unset(gst.types.ClockTime timestamp)Used to remove the value of given controller-handled property at a certain time.void unsetAll()Used to remove all time-stamped values of given controller-handled propertygulong connectValueAdded(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gstcontroller.control_point.ControlPoint)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gstcontroller.timed_value_control_source.TimedValueControlSource)))
&& Parameters!T.length < 3)Connect to `ValueAdded` signal.gulong connectValueChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gstcontroller.control_point.ControlPoint)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gstcontroller.timed_value_control_source.TimedValueControlSource)))
&& Parameters!T.length < 3)Connect to `ValueChanged` signal.gulong connectValueRemoved(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == gstcontroller.control_point.ControlPoint)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gstcontroller.timed_value_control_source.TimedValueControlSource)))
&& Parameters!T.length < 3)Connect to `ValueRemoved` signal.classTimedValueControlSourceGidBuilder : TimedValueControlSourceGidBuilderImpl!TimedValueControlSourceGidBuilder
Fluent builder for [gstcontroller.timed_value_control_source.TimedValueControlSource]
Methods