diff options
author | Chris Robinson <[email protected]> | 2019-02-19 15:39:33 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-02-19 15:39:33 -0800 |
commit | 194fcb6bb7d81c5a82c9437c7ed7dfdb7da0a3e1 (patch) | |
tree | 89c0319608082ae1f676655d3169b9ca44a335e9 /Alc/hrtf.cpp | |
parent | a75bc26173252b26ff2a75c5851b5399b025152a (diff) |
Rename MAX_AMBI_COEFFS and MAX_AMBI2D_COEFFS
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 b6b5ce43..a47c4d35 100644 --- a/Alc/hrtf.cpp +++ b/Alc/hrtf.cpp @@ -297,9 +297,9 @@ std::unique_ptr<DirectHrtfState> DirectHrtfState::Create(size_t num_chans) return std::unique_ptr<DirectHrtfState>{new (ptr) DirectHrtfState{num_chans}}; } -void BuildBFormatHrtf(const HrtfEntry *Hrtf, DirectHrtfState *state, const ALsizei NumChannels, const AngularPoint *AmbiPoints, const ALfloat (*RESTRICT AmbiMatrix)[MAX_AMBI_COEFFS], const ALsizei AmbiCount, const ALfloat *RESTRICT AmbiOrderHFGain) +void BuildBFormatHrtf(const HrtfEntry *Hrtf, DirectHrtfState *state, const ALsizei NumChannels, const AngularPoint *AmbiPoints, const ALfloat (*RESTRICT AmbiMatrix)[MAX_AMBI_CHANNELS], const ALsizei AmbiCount, const ALfloat *RESTRICT AmbiOrderHFGain) { - static constexpr int OrderFromChan[MAX_AMBI_COEFFS]{ + static constexpr int OrderFromChan[MAX_AMBI_CHANNELS]{ 0, 1,1,1, 2,2,2,2,2, 3,3,3,3,3,3,3, }; /* Set this to true for dual-band HRTF processing. May require better |