Mercurial > hg > qm-dsp
comparison dsp/rateconversion/Decimator.cpp @ 501:12b5a9244bb0
Style fixes: avoid unsigned, fix formatting
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 05 Jun 2019 10:21:48 +0100 |
parents | af5b7ef02aa7 |
children |
comparison
equal
deleted
inserted
replaced
500:8a8693f38b91 | 501:12b5a9244bb0 |
---|---|
201 return; | 201 return; |
202 } | 202 } |
203 | 203 |
204 doAntiAlias( src, decBuffer, m_inputLength ); | 204 doAntiAlias( src, decBuffer, m_inputLength ); |
205 | 205 |
206 unsigned idx = 0; | 206 int idx = 0; |
207 | 207 |
208 for (int i = 0; i < m_outputLength; i++ ) { | 208 for (int i = 0; i < m_outputLength; i++ ) { |
209 dst[ idx++ ] = decBuffer[ m_decFactor * i ]; | 209 dst[ idx++ ] = decBuffer[ m_decFactor * i ]; |
210 } | 210 } |
211 } | 211 } |