Struct web_audio_api::process::AudioParamValues [−][src]
pub struct AudioParamValues<'a> { /* fields omitted */ }
Expand description
Accessor for current crate::param::AudioParam
values
Provided to implementations of AudioProcessor
in the render thread
Implementations
impl<'a> AudioParamValues<'a>
[src]
impl<'a> AudioParamValues<'a>
[src]pub fn get(&self, index: &AudioParamId) -> &[f32]
[src]
pub fn get(&self, index: &AudioParamId) -> &[f32]
[src]Get the computed values for the given crate::param::AudioParam
For both A & K-rate params, it will provide a slice of length crate::BUFFER_SIZE