From 50e33ce8f49fdf40a9c48871d63e2cb49d72c94f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 4 Dec 2020 13:53:56 -0800 Subject: Change some macros into constexpr variables --- alc/hrtf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/hrtf.cpp') diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp index 01dc342f..5f812318 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -278,8 +278,8 @@ std::unique_ptr DirectHrtfState::Create(size_t num_chans) { return std::unique_ptr{new(FamCount(num_chans)) DirectHrtfState{num_chans}}; } void DirectHrtfState::build(const HrtfStore *Hrtf, const al::span AmbiPoints, - const float (*AmbiMatrix)[MAX_AMBI_CHANNELS], - const al::span AmbiOrderHFGain) + const float (*AmbiMatrix)[MaxAmbiChannels], + const al::span AmbiOrderHFGain) { using double2 = std::array; struct ImpulseResponse { -- cgit v1.2.3