Trait web_audio_api::node::AudioScheduledSourceNode[][src]

pub trait AudioScheduledSourceNode {
    fn scheduler(&self) -> &Scheduler;

    fn start_at(&self, start: f64) { ... }
fn stop_at(&self, stop: f64) { ... }
fn start(&self) { ... }
fn stop(&self) { ... } }
Expand description

Interface of source nodes, controlling start and stop times. The node will emit silence before it is started, and after it has ended.

Required methods

Loading content...

Provided methods

fn start_at(&self, start: f64)[src]

Expand description

Schedule playback start at this timestamp

fn stop_at(&self, stop: f64)[src]

Expand description

Stop playback at this timestamp

fn start(&self)[src]

Expand description

Play immediately

fn stop(&self)[src]

Expand description

Stop immediately

Loading content...

Implementors

Loading content...