aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/filters/splitter.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-02-21 17:37:02 -0800
committerChris Robinson <[email protected]>2019-02-21 17:37:02 -0800
commit1eea3cb2d1e555752b8096dd4f235c1e56242452 (patch)
tree6500864f386d6b4296f200fda15f58bc365f8de2 /Alc/filters/splitter.h
parent169a11dffc459a37c61b1dc6e7d66a303a935c62 (diff)
Remove RESTRICT from the bandsplitter process method
The compiler can see there's no aliasing with the local variables, and the input/output buffers are handled sequentially one element at a time anyway.
Diffstat (limited to 'Alc/filters/splitter.h')
-rw-r--r--Alc/filters/splitter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/filters/splitter.h b/Alc/filters/splitter.h
index e1122577..f7ea608b 100644
--- a/Alc/filters/splitter.h
+++ b/Alc/filters/splitter.h
@@ -16,7 +16,7 @@ class BandSplitterR {
public:
void init(Real f0norm);
void clear() noexcept { lp_z1 = lp_z2 = ap_z1 = 0.0f; }
- void process(Real *RESTRICT hpout, Real *RESTRICT lpout, const Real *input, int count);
+ void process(Real *hpout, Real *lpout, const Real *input, int count);
};
using BandSplitter = BandSplitterR<float>;