diff options
author | Chris Robinson <[email protected]> | 2020-01-13 08:55:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-01-13 08:55:10 -0800 |
commit | 7551242143e90a0234b8b75070249d5eb6a60528 (patch) | |
tree | f3d150a355576e795011c88dfc8c837fd454b41d /alc/hrtf.cpp | |
parent | a866aece4636853db7af292d7637cffbc0f2c934 (diff) |
Use a span for a fixed-size array reference
Diffstat (limited to 'alc/hrtf.cpp')
-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 a36e4bcc..b8b8d5df 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -281,8 +281,8 @@ std::unique_ptr<DirectHrtfState> DirectHrtfState::Create(size_t num_chans) } void BuildBFormatHrtf(const HrtfStore *Hrtf, DirectHrtfState *state, - const al::span<const AngularPoint> AmbiPoints, const ALfloat (*AmbiMatrix)[MAX_AMBI_CHANNELS], - const ALfloat *AmbiOrderHFGain) + const al::span<const AngularPoint> AmbiPoints, const float (*AmbiMatrix)[MAX_AMBI_CHANNELS], + const al::span<const float,MAX_AMBI_ORDER+1> AmbiOrderHFGain) { using double2 = std::array<double,2>; struct ImpulseResponse { |