mirror of
https://github.com/thestk/stk
synced 2026-01-11 12:01:52 +00:00
Iir: change variable types from std::vector<StkFloat>::size_type to size_t
This commit is contained in:
@@ -113,7 +113,7 @@ protected:
|
||||
|
||||
inline StkFloat Iir :: tick( StkFloat input )
|
||||
{
|
||||
std::vector<StkFloat>::size_type i;
|
||||
size_t i;
|
||||
|
||||
outputs_[0] = 0.0;
|
||||
inputs_[0] = gain_ * input;
|
||||
@@ -142,7 +142,7 @@ inline StkFrames& Iir :: tick( StkFrames& frames, unsigned int channel )
|
||||
#endif
|
||||
|
||||
StkFloat *samples = &frames[channel];
|
||||
std::vector<StkFloat>::size_type i;
|
||||
size_t i;
|
||||
unsigned int hop = frames.channels();
|
||||
for ( unsigned int j=0; j<frames.frames(); j++, samples += hop ) {
|
||||
outputs_[0] = 0.0;
|
||||
@@ -176,7 +176,7 @@ inline StkFrames& Iir :: tick( StkFrames& iFrames, StkFrames& oFrames, unsigned
|
||||
|
||||
StkFloat *iSamples = &iFrames[iChannel];
|
||||
StkFloat *oSamples = &oFrames[oChannel];
|
||||
std::vector<StkFloat>::size_type i;
|
||||
size_t i;
|
||||
unsigned int iHop = iFrames.channels(), oHop = oFrames.channels();
|
||||
for ( unsigned int j=0; j<iFrames.frames(); j++, iSamples += iHop, oSamples += oHop ) {
|
||||
outputs_[0] = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user