pub struct DynNode1x1Context {
    nframes: usize,
    alpha: ProcBuf,
    beta: ProcBuf,
    gamma: ProcBuf,
    delta: ProcBuf,
    led_value: Arc<AtomicFloat>,
    phase_value: Arc<AtomicFloat>,
}
Expand description

A context structure for supporting the DynamicNode1x1::process function.

It provides access to the input slices of the alpha, beta, gamma and delta values. And to the LED and phase values, which are basically two AtomicFloat values that you can read out in the frontend thread using the crate::SynthConstructor or crate::NodeConfigurator API.

Fields

nframes: usizealpha: ProcBufbeta: ProcBufgamma: ProcBufdelta: ProcBufled_value: Arc<AtomicFloat>phase_value: Arc<AtomicFloat>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.