diff options
-rw-r--r-- | alc/hrtf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp index 179938e0..8d1342fd 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -411,7 +411,7 @@ void BuildBFormatHrtf(const HrtfStore *Hrtf, DirectHrtfState *state, * sample array. This produces the forward response with a backwards * phase-shift (+n degrees becomes -n degrees). */ - splitter.applyAllpass(tempir); + splitter.applyAllpass({tempir.data(), tempir.size()}); std::reverse(tempir.begin(), tempir.end()); /* Now apply the band-splitter. This applies the normal phase-shift, @@ -436,7 +436,7 @@ void BuildBFormatHrtf(const HrtfStore *Hrtf, DirectHrtfState *state, std::transform(hrir.cbegin(), hrir.cend(), tempir.rbegin() + HRIR_LENGTH*3, [](const double2 &ir) noexcept -> double { return ir[1]; }); - splitter.applyAllpass(tempir); + splitter.applyAllpass({tempir.data(), tempir.size()}); std::reverse(tempir.begin(), tempir.end()); splitter.clear(); |