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) { ... } }

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]

Schedule playback start at this timestamp

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

Stop playback at this timestamp

fn start(&self)[src]

Play immediately

fn stop(&self)[src]

Stop immediately

Loading content...

Implementors

Loading content...