Struct web_audio_api::process::AudioParamValues[][src]

pub struct AudioParamValues<'a> { /* fields omitted */ }

Accessor for current crate::param::AudioParam values

Provided to implementations of AudioProcessor in the render thread

Implementations

impl<'a> AudioParamValues<'a>[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

Auto Trait Implementations

impl<'a> !RefUnwindSafe for AudioParamValues<'a>

impl<'a> !Send for AudioParamValues<'a>

impl<'a> !Sync for AudioParamValues<'a>

impl<'a> Unpin for AudioParamValues<'a>

impl<'a> !UnwindSafe for AudioParamValues<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.