make a note for DelayBuffer::feed
This commit is contained in:
parent
3f8bee1301
commit
bdbfd01608
1 changed files with 3 additions and 0 deletions
|
@ -559,6 +559,9 @@ impl DelayBuffer {
|
|||
self.wr = 0;
|
||||
}
|
||||
|
||||
/// Feed one sample into the delay line and increment the write pointer.
|
||||
/// Please note: For sample accurate feedback you need to retrieve the
|
||||
/// output of the delay line before feeding in a new signal.
|
||||
#[inline]
|
||||
pub fn feed(&mut self, input: f32) {
|
||||
self.data[self.wr] = input;
|
||||
|
|
Loading…
Reference in a new issue