aboutsummaryrefslogtreecommitdiffstats
path: root/alc/filters/biquad.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-20 05:26:51 -0700
committerChris Robinson <[email protected]>2019-08-20 05:26:51 -0700
commit7a8f81259c515291126f29a0e65aff791efe16b0 (patch)
tree124b56dc301dec0116dd6394d0f46389123da7b2 /alc/filters/biquad.h
parent102ef6cb3356ef81e2a392d3aa8bd6324eb3ff30 (diff)
Use size_t for the NFC and biquad filters' sample count
Diffstat (limited to 'alc/filters/biquad.h')
-rw-r--r--alc/filters/biquad.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/filters/biquad.h b/alc/filters/biquad.h
index f8d7f0ba..9de86f2f 100644
--- a/alc/filters/biquad.h
+++ b/alc/filters/biquad.h
@@ -2,6 +2,7 @@
#define FILTERS_BIQUAD_H
#include <cmath>
+#include <cstddef>
#include <utility>
#include "math_defs.h"
@@ -72,7 +73,7 @@ public:
}
- void process(Real *dst, const Real *src, int numsamples);
+ void process(Real *dst, const Real *src, const size_t numsamples);
/* Rather hacky. It's just here to support "manual" processing. */
std::pair<Real,Real> getComponents() const noexcept