gstreamer_editing_services::prelude

Trait AudioTestSourceExt

Source
pub trait AudioTestSourceExt: IsA<AudioTestSource> + 'static {
    // Provided methods
    fn freq(&self) -> f64 { ... }
    fn volume(&self) -> f64 { ... }
    fn set_freq(&self, freq: f64) { ... }
    fn set_volume(&self, volume: f64) { ... }
}
Expand description

Trait containing all AudioTestSource methods.

§Implementors

AudioTestSource

Provided Methods§

Source

fn freq(&self) -> f64

Get the current frequency of self.

§Returns

The current frequency of self.

Source

fn volume(&self) -> f64

Get the current volume of self.

§Returns

The current volume of self

Source

fn set_freq(&self, freq: f64)

Lets you set the frequency applied on the track element

§freq

The frequency you want to apply on self

Source

fn set_volume(&self, volume: f64)

Sets the volume of the test audio signal.

§volume

The volume you want to apply on self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§