We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebb88c7 commit 0d12bd1Copy full SHA for 0d12bd1
1 file changed
modules/yup_dsp/filters/yup_FirResampler.h
@@ -223,16 +223,7 @@ class FirUpsampler
223
224
const CoeffType* coefficients;
225
std::array<SampleType, BufferSize> buffer;
226
- int bufferIndex;
227
-
228
- //==============================================================================
229
- static constexpr int nextPowerOfTwo (int value)
230
- {
231
- int result = 1;
232
- while (result < value)
233
- result <<= 1;
234
- return result;
235
- }
+ int bufferIndex;
236
};
237
238
//==============================================================================
0 commit comments