mirror of
https://github.com/thestk/stk
synced 2026-02-02 07:46:14 +00:00
fixed bug in DelayL :: setMaximumDelay
need to initialize values to zero
This commit is contained in:
@@ -49,7 +49,7 @@ DelayL :: ~DelayL()
|
|||||||
void DelayL :: setMaximumDelay( unsigned long delay )
|
void DelayL :: setMaximumDelay( unsigned long delay )
|
||||||
{
|
{
|
||||||
if ( delay < inputs_.size() ) return;
|
if ( delay < inputs_.size() ) return;
|
||||||
inputs_.resize( delay + 1 );
|
inputs_.resize(delay + 1, 1, 0.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DelayL :: setDelay( StkFloat delay )
|
void DelayL :: setDelay( StkFloat delay )
|
||||||
|
|||||||
Reference in New Issue
Block a user