mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
fixed bug in DelayA :: setMaximumDelay
inputs_ needs to be set to all zeros
This commit is contained in:
@@ -59,7 +59,7 @@ void DelayA :: clear()
|
||||
void DelayA :: setMaximumDelay( unsigned long delay )
|
||||
{
|
||||
if ( delay < inputs_.size() ) return;
|
||||
inputs_.resize( delay + 1 );
|
||||
inputs_.resize(delay + 1, 1, 0.0);
|
||||
}
|
||||
|
||||
void DelayA :: setDelay( StkFloat delay )
|
||||
|
||||
Reference in New Issue
Block a user