aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/hrtf.cpp')
-rw-r--r--alc/hrtf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp
index 60d0aead..e791e7af 100644
--- a/alc/hrtf.cpp
+++ b/alc/hrtf.cpp
@@ -285,7 +285,7 @@ void DirectHrtfState::build(const HrtfStore *Hrtf, const uint irSize,
{
using double2 = std::array<double,2>;
struct ImpulseResponse {
- const HrirArray &hrir;
+ const ConstHrirSpan hrir;
uint ldelay, rdelay;
};
@@ -341,7 +341,7 @@ void DirectHrtfState::build(const HrtfStore *Hrtf, const uint irSize,
auto tmpres = al::vector<std::array<double2,HrirLength>>(mChannels.size());
for(size_t c{0u};c < AmbiPoints.size();++c)
{
- const HrirArray &hrir{impres[c].hrir};
+ const ConstHrirSpan hrir{impres[c].hrir};
const uint ldelay{hrir_delay_round(impres[c].ldelay - min_delay)};
const uint rdelay{hrir_delay_round(impres[c].rdelay - min_delay)};