Windows fixes

This commit is contained in:
Jack Andersen
2016-12-10 15:52:42 -10:00
parent eb948dfd63
commit 9cf96ad6f9
7 changed files with 18 additions and 14 deletions

View File

@@ -58,10 +58,10 @@ void EffectDelayImp<T>::applyEffect(T* audio, size_t frameCount, const ChannelMa
for (size_t f = 0; f < frameCount;)
{
for (int c = 0; c < chanMap.m_channelCount; ++c)
for (unsigned c = 0; c < chanMap.m_channelCount; ++c)
{
T* chanAud = audio + c;
for (int i = 0; i < m_blockSamples && f < frameCount; ++i, ++f)
for (unsigned i = 0; i < m_blockSamples && f < frameCount; ++i, ++f)
{
T& liveSamp = chanAud[chanMap.m_channelCount * i];
T& samp = x30_chanLines[c][xc_currentPos[c] * m_blockSamples + i];