diff options
Diffstat (limited to 'alc/hrtf.cpp')
-rw-r--r-- | alc/hrtf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp index 5446c412..c0e2b982 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -438,7 +438,7 @@ void BuildBFormatHrtf(const HrtfEntry *Hrtf, DirectHrtfState *state, const ALuin { auto copy_arr = [](const std::array<double,2> &in) noexcept -> float2 { return float2{{static_cast<float>(in[0]), static_cast<float>(in[1])}}; }; - std::transform(tmpres[i].begin(), tmpres[i].end(), state->Chan[i].Coeffs.begin(), + std::transform(tmpres[i].begin(), tmpres[i].end(), state->Coeffs[i].begin(), copy_arr); } tmpres.clear(); |