updated as per 1474

This commit is contained in:
Dave French
2014-12-23 09:33:13 +00:00
parent eca59c30eb
commit dd27dc688a

View File

@@ -55,7 +55,7 @@ MonoDelay::~MonoDelay()
void MonoDelay::tick( sample_t* sample )
{
m_buffer[m_index] = *sample;
int readIndex = m_index - ( int )m_length;
int readIndex = m_index - ( int )m_length - 1;
if(readIndex < 0)
{
readIndex += m_maxLength;