diff options
-rw-r--r-- | Alc/filters/splitter.cpp | 7 | ||||
-rw-r--r-- | Alc/filters/splitter.h | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/Alc/filters/splitter.cpp b/Alc/filters/splitter.cpp index fb817d62..85122890 100644 --- a/Alc/filters/splitter.cpp +++ b/Alc/filters/splitter.cpp @@ -23,13 +23,6 @@ void BandSplitter::init(float f0norm) hp_z1 = 0.0f; } -void BandSplitter::clear() -{ - lp_z1 = 0.0f; - lp_z2 = 0.0f; - hp_z1 = 0.0f; -} - void BandSplitter::process(float *RESTRICT hpout, float *RESTRICT lpout, const float *input, int count) { ASSUME(count > 0); diff --git a/Alc/filters/splitter.h b/Alc/filters/splitter.h index 6e3b5cbb..db31c138 100644 --- a/Alc/filters/splitter.h +++ b/Alc/filters/splitter.h @@ -14,7 +14,7 @@ class BandSplitter { public: void init(float f0norm); - void clear(); + void clear() noexcept { lp_z1 = lp_z2 = hp_z1 = 0.0f; } void process(float *RESTRICT hpout, float *RESTRICT lpout, const float *input, int count); }; |