pub struct MultiPass<N, T> { /* private fields */ }
Expand description

Pass through inputs unchanged.

Implementations

Trait Implementations

Unique ID for hashing.
Sample type for input and output.
Input arity.
Output arity.
Process one sample.
Process up to 64 (MAX_BUFFER_SIZE) samples. The number of input and output buffers must match the number of inputs and outputs, respectively. All input and output buffers must be at least as large as size. The default implementation is a fallback that calls into tick. Read more
Route constants, latencies and frequency responses at frequency Hz from inputs to outputs. Return output signal. Default implementation marks all outputs unknown. Read more
Reset the input state of the component to an initial state where it has not processed any samples. In other words, reset time to zero. The sample rate can be set optionally. The default sample rate is 44.1 kHz. The default implementation does nothing. Read more
Set node pseudorandom phase hash. Override this to use the hash. This is called from ping. It should not be called by users. The default implementation does nothing. Read more
Ping contained AudioNodes to obtain a deterministic pseudorandom hash. The local hash includes children, too. Leaf nodes should not need to override this. If probe is true, then this is a probe for computing the network hash and set_hash should not be called yet. Read more
Set parameter value recursively. The default implementation does nothing.
Query parameter value recursively. The first matching parameter is returned. The default implementation returns None. Read more
Number of inputs.
Number of outputs.
Evaluate frequency response of output at frequency Hz. Any linear response can be composed. Return None if there is no response or it could not be calculated. Read more
Evaluate frequency response of output in dB at frequency Hz. Any linear response can be composed. Return None if there is no response or it could not be calculated. Read more
Causal latency in (fractional) samples. After a reset, we can discard this many samples from the output to avoid incurring a pre-delay. The latency can depend on the sample rate and is allowed to change after reset. Read more
Retrieve the next mono sample from a generator. The node must have no inputs and 1 or 2 outputs. If there are two outputs, average the channels. Read more
Retrieve the next stereo sample (left, right) from a generator. The node must have no inputs and 1 or 2 outputs. If there is just one output, duplicate it. Read more
Filter the next mono sample x. The node must have exactly 1 input and 1 output. Read more
Filter the next stereo sample (x, y). The node must have exactly 2 inputs and 2 outputs. Read more
Returns the “default value” for a type. Read more

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
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more
Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Returns the argument unchanged.

Creates Self using data from the given [World]
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more