Top |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstControlSource ╰── GstLFOControlSource
GstLFOControlSource is a GstControlSource, that provides several periodic waveforms as control values.
To use GstLFOControlSource get a new instance by calling
gst_lfo_control_source_new()
, bind it to a GParamSpec and set the relevant
properties.
All functions are MT-safe.
GstControlSource *
gst_lfo_control_source_new (void
);
This returns a new, unbound GstLFOControlSource.
“amplitude”
property“amplitude” gdouble
Specifies the amplitude for the waveform of this GstLFOControlSource.
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
“frequency”
property“frequency” gdouble
Specifies the frequency that should be used for the waveform of this GstLFOControlSource. It should be large enough so that the period is longer than one nanosecond.
Flags: Read / Write
Allowed values: >= G_MINDOUBLE
Default value: 1
“offset”
property“offset” gdouble
Specifies the value offset for the waveform of this GstLFOControlSource.
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
“timeshift”
property“timeshift” guint64
Specifies the timeshift to the right that should be used for the waveform of this GstLFOControlSource in nanoseconds.
To get a n nanosecond shift to the left use "(GST_SECOND / frequency) - n".
Flags: Read / Write
Default value: 0
“waveform”
property“waveform” GstLFOWaveform
Specifies the waveform that should be used for this GstLFOControlSource.
Flags: Read / Write
Default value: GST_LFO_WAVEFORM_SINE