Delay and Flanger updated formatting error

This commit is contained in:
Dave French
2015-04-18 18:53:11 +01:00
parent 4f76241e68
commit 68edb91fc6

View File

@@ -55,7 +55,7 @@ MonoDelay::~MonoDelay()
void MonoDelay::tick( sample_t* sample )
{
m_index = ( int )m_length > 0
? ( m_index + 1 ) % ( int ) m_length
? ( m_index + 1 ) % ( int )m_length
: m_index;
float out = m_buffer[ m_index ];
m_buffer[ m_index ] = *sample + ( out * m_feedback );