Struct hexodsp::shared_feedback::SharedFeedback
source · [−]pub struct SharedFeedback {
buffer: Arc<Vec<AtomicFloat>>,
delay_sample_count: usize,
}
Expand description
The SharedFeedback is a feedback delay buffer for the FbWr
and FbRd
nodes.
They have a fixed delay of 3.14ms, which should be equal for all sample rates above 42kHz. Below that the delay might be longer to accomodate the crate::dsp::MAX_BLOCK_SIZE.
See also crate::NodeGlobalData which provides the SharedFeedback to the DSP nodes.
Fields
buffer: Arc<Vec<AtomicFloat>>
delay_sample_count: usize
Implementations
Trait Implementations
sourcefn clone(&self) -> SharedFeedback
fn clone(&self) -> SharedFeedback
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more