Trait gstreamer_controller::prelude::TimedValueControlSourceExt[][src]

pub trait TimedValueControlSourceExt: 'static {
    fn count(&self) -> i32;
fn set(&self, timestamp: ClockTime, value: f64) -> bool;
fn unset(&self, timestamp: ClockTime) -> bool;
fn unset_all(&self);
fn connect_value_added<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_value_changed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_value_removed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }
Expand description

Required methods

Get the number of control points that are set.

Returns

the number of control points that are set.

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

timestamp

the time the control-change is scheduled for

value

the control-value

Returns

FALSE if the values couldn’t be set, TRUE otherwise.

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

timestamp

the time the control-change should be removed from

Returns

FALSE if the value couldn’t be unset (i.e. not found, TRUE otherwise.

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

Emitted right after the new value has been added to self_

timed_value

The newly added GstTimedValue

Emitted right after the new value has been set on timed_signals

timed_value

The GstTimedValue where the value changed

Emitted when timed_value is removed from self_

timed_value

The removed GstTimedValue

Implementors