diff options
author | Chris Robinson <[email protected]> | 2020-04-23 22:13:52 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-23 22:13:52 -0700 |
commit | 873983377052594b418bfa6cd505df7c604792ea (patch) | |
tree | 8b500bb483a079107dfd9feb368e8751f14ce44e /alc/effects | |
parent | e89978195f3910693958b8faebbd88b4643f8d57 (diff) |
Add a method to process two biquads at once
Diffstat (limited to 'alc/effects')
-rw-r--r-- | alc/effects/reverb.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/alc/effects/reverb.cpp b/alc/effects/reverb.cpp index 0e92daee..6b7aad44 100644 --- a/alc/effects/reverb.cpp +++ b/alc/effects/reverb.cpp @@ -301,10 +301,7 @@ struct T60Filter { /* Applies the two T60 damping filter sections. */ void process(const al::span<float> samples) - { - HFFilter.process(samples, samples.begin()); - LFFilter.process(samples, samples.begin()); - } + { DualBiquad{HFFilter, LFFilter}.process(samples, samples.data()); } }; struct EarlyReflections { |