mirror of
https://github.com/thestk/stk
synced 2026-04-23 23:58:38 +00:00
Fix to zero new delay memory in setMaximumDelay() function.
This commit is contained in:
@@ -42,7 +42,7 @@ Delay :: ~Delay()
|
|||||||
void Delay :: setMaximumDelay( unsigned long delay )
|
void Delay :: 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 Delay :: setDelay( unsigned long delay )
|
void Delay :: setDelay( unsigned long delay )
|
||||||
|
|||||||
Reference in New Issue
Block a user