1
0
Fork 0
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:
reuk 2021-08-23 17:39:14 +01:00
parent c41f64111f
commit 7b64bd7406
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 19 additions and 1 deletions

View file

@ -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();