fixed bug in DelayL :: setMaximumDelay

need to initialize values to zero
This commit is contained in:
Abhi
2014-09-13 18:01:26 -04:00
parent d1acfb07ed
commit bc3cfa8fb5

View File

@@ -49,7 +49,7 @@ DelayL :: ~DelayL()
void DelayL :: setMaximumDelay( unsigned long delay )
{
if ( delay < inputs_.size() ) return;
inputs_.resize( delay + 1 );
inputs_.resize(delay + 1, 1, 0.0);
}
void DelayL :: setDelay( StkFloat delay )