Fix to zero new delay memory in setMaximumDelay() function.

This commit is contained in:
Gary Scavone
2017-02-24 08:36:02 -05:00
parent 2ddc79e3bd
commit 56bcdc32ed

View File

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