pub trait AudioScheduledSourceNode {
    fn start(&self);
fn start_at(&self, when: f64);
fn stop(&self);
fn stop_at(&self, when: f64); }
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

Play immediately

Panics

Panics if the source was already started

Schedule playback start at given timestamp

Panics

Panics if the source was already started

Stop immediately

Panics

Panics if the source was already stopped

Schedule playback stop at given timestamp

Panics

Panics if the source was already stopped

Implementors