mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DelayLine: Allow setting a new maximum delay time after construction
This commit is contained in:
parent
c41f64111f
commit
7b64bd7406
2 changed files with 19 additions and 1 deletions
|
|
@ -112,6 +112,14 @@ public:
|
|||
/** Initialises the processor. */
|
||||
void prepare (const ProcessSpec& spec);
|
||||
|
||||
/** Sets a new maximum delay in samples.
|
||||
|
||||
Also clears the delay line.
|
||||
|
||||
This may allocate internally, so you should never call it from the audio thread.
|
||||
*/
|
||||
void setMaximumDelayInSamples (int maxDelayInSamples);
|
||||
|
||||
/** Resets the internal state variables of the processor. */
|
||||
void reset();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue