diff options
author | Chris Robinson <[email protected]> | 2019-07-31 10:46:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-31 10:46:33 -0700 |
commit | 151ff51e7d7b8265cac804f3b754a87924902090 (patch) | |
tree | 8908296e7e18da690b7d139fcb03d9977907230f /alc/hrtf.cpp | |
parent | d1f72624a749bd9c2a17ddeb303703a78f53d4a5 (diff) |
Don't templatize HrirArray
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 786c4c5d..8130288a 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -216,7 +216,7 @@ IdxBlend CalcAzIndex(ALsizei azcount, ALfloat az) * and azimuth in radians. The coefficients are normalized. */ void GetHrtfCoeffs(const HrtfEntry *Hrtf, ALfloat elevation, ALfloat azimuth, ALfloat distance, - ALfloat spread, HrirArray<ALfloat> &coeffs, ALsizei (&delays)[2]) + ALfloat spread, HrirArray &coeffs, ALsizei (&delays)[2]) { const ALfloat dirfact{1.0f - (spread / al::MathDefs<float>::Tau())}; @@ -348,7 +348,7 @@ void BuildBFormatHrtf(const HrtfEntry *Hrtf, DirectHrtfState *state, const ALuin const ALdouble xover_norm{400.0 / Hrtf->sampleRate}; BandSplitterR<double> splitter{xover_norm}; - auto tmpres = al::vector<HrirArray<ALdouble>>(NumChannels); + auto tmpres = al::vector<std::array<std::array<ALdouble,2>,HRIR_LENGTH>>(NumChannels); auto tmpfilt = al::vector<std::array<ALdouble,HRIR_LENGTH*4>>(3); for(size_t c{0u};c < AmbiCount;++c) { |