Trait gstreamer_controller::prelude::LFOControlSourceExt [−][src]
pub trait LFOControlSourceExt: 'static {}Show methods
fn amplitude(&self) -> f64; fn set_amplitude(&self, amplitude: f64); fn frequency(&self) -> f64; fn set_frequency(&self, frequency: f64); fn offset(&self) -> f64; fn set_offset(&self, offset: f64); fn timeshift(&self) -> u64; fn set_timeshift(&self, timeshift: u64); fn waveform(&self) -> LFOWaveform; fn set_waveform(&self, waveform: LFOWaveform); fn connect_amplitude_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_frequency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_timeshift_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_waveform_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
Expand description
Required methods
Specifies the amplitude for the waveform of this LFOControlSource
.
fn set_amplitude(&self, amplitude: f64)
[src]
fn set_amplitude(&self, amplitude: f64)
[src]Specifies the amplitude for the waveform of this LFOControlSource
.
Specifies the frequency that should be used for the waveform
of this LFOControlSource
. It should be large enough
so that the period is longer than one nanosecond.
fn set_frequency(&self, frequency: f64)
[src]
fn set_frequency(&self, frequency: f64)
[src]Specifies the frequency that should be used for the waveform
of this LFOControlSource
. It should be large enough
so that the period is longer than one nanosecond.
Specifies the value offset for the waveform of this LFOControlSource
.
fn set_offset(&self, offset: f64)
[src]
fn set_offset(&self, offset: f64)
[src]Specifies the value offset for the waveform of this LFOControlSource
.
Specifies the timeshift to the right that should be used for the waveform
of this LFOControlSource
in nanoseconds.
To get a n nanosecond shift to the left use “(GST_SECOND / frequency) - n”.
fn set_timeshift(&self, timeshift: u64)
[src]
fn set_timeshift(&self, timeshift: u64)
[src]Specifies the timeshift to the right that should be used for the waveform
of this LFOControlSource
in nanoseconds.
To get a n nanosecond shift to the left use “(GST_SECOND / frequency) - n”.
fn waveform(&self) -> LFOWaveform
[src]
fn waveform(&self) -> LFOWaveform
[src]Specifies the waveform that should be used for this LFOControlSource
.
fn set_waveform(&self, waveform: LFOWaveform)
[src]
fn set_waveform(&self, waveform: LFOWaveform)
[src]Specifies the waveform that should be used for this LFOControlSource
.
fn connect_amplitude_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_frequency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_timeshift_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_waveform_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]Implementors
fn connect_amplitude_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_frequency_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_timeshift_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]fn connect_waveform_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]