Mercurial > hg > qm-dsp
comparison dsp/rateconversion/DecimatorB.cpp @ 189:e4a57215ddee
Fix compiler warnings with -Wall -Wextra
author | Chris Cannam |
---|---|
date | Mon, 28 Sep 2015 12:33:17 +0100 |
parents | 529f42b50d81 |
children |
comparison
equal
deleted
inserted
replaced
188:224f400410ef | 189:e4a57215ddee |
---|---|
110 | 110 |
111 void DecimatorB::doProcess() | 111 void DecimatorB::doProcess() |
112 { | 112 { |
113 int filteridx = 0; | 113 int filteridx = 0; |
114 int factorDone = 1; | 114 int factorDone = 1; |
115 int factorRemaining = m_decFactor; | |
116 | 115 |
117 while (factorDone < m_decFactor) { | 116 while (factorDone < m_decFactor) { |
118 | 117 |
119 doAntiAlias(m_tmpBuffer, m_aaBuffer, | 118 doAntiAlias(m_tmpBuffer, m_aaBuffer, |
120 m_inputLength / factorDone, | 119 m_inputLength / factorDone, |