diff options
author | Chris Robinson <[email protected]> | 2019-12-29 21:49:29 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-29 21:49:29 -0800 |
commit | 28d2294b0782d47f0be9e1479e7eb9ff91ae54f0 (patch) | |
tree | 59cac824eeb8597822f69ab7745986471990548f /alc | |
parent | 9fc2f8541bf5c8db1932a6c286c86a2c96cb3953 (diff) |
Workaround for MSVC 2015
Diffstat (limited to 'alc')
-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(); |