Trait web_audio_api::process::AudioProcessor [−][src]
Interface for audio processing code that runs on the audio rendering thread.
Note that the AudioProcessor is typically constructed together with an AudioNode
(the user facing object that lives in the control thread). See [crate::context::BaseAudioContext::register]
.
Required methods
fn process(
&mut self,
inputs: &[AudioBuffer],
outputs: &mut [AudioBuffer],
params: AudioParamValues<'_>,
timestamp: f64,
sample_rate: SampleRate
)
[src]
&mut self,
inputs: &[AudioBuffer],
outputs: &mut [AudioBuffer],
params: AudioParamValues<'_>,
timestamp: f64,
sample_rate: SampleRate
)
Audio processing function
fn tail_time(&self) -> bool
[src]
Indicates if this node can have output when no inputs are connected