From 873983377052594b418bfa6cd505df7c604792ea Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 23 Apr 2020 22:13:52 -0700 Subject: Add a method to process two biquads at once --- alc/effects/reverb.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'alc/effects/reverb.cpp') 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 samples) - { - HFFilter.process(samples, samples.begin()); - LFFilter.process(samples, samples.begin()); - } + { DualBiquad{HFFilter, LFFilter}.process(samples, samples.data()); } }; struct EarlyReflections { -- cgit v1.2.3