pub trait AudioTestSourceExt: 'static {
    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

Required methods

Get the current frequency of self.

Returns

The current frequency of self.

Get the current volume of self.

Returns

The current volume of self

Lets you set the frequency applied on the track element

freq

The frequency you want to apply on self

Sets the volume of the test audio signal.

volume

The volume you want to apply on self

Implementors