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

pub trait AudioScheduledSourceNode: AudioNode + Scheduled {
    fn start_at(&self, timestamp: f64) { ... }
fn stop_at(&self, timestamp: 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.

Provided methods

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

Schedules a sound to playback at an exact time.

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

Schedules a sound to stop playback at an exact time.

fn start(&self)[src]

Play immediately

fn stop(&self)[src]

Stop immediately

Loading content...

Implementors

Loading content...