aboutsummaryrefslogtreecommitdiffstats
path: root/alc/panning.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-11 01:01:35 -0800
committerChris Robinson <[email protected]>2023-01-11 01:01:35 -0800
commit05d934ccd1a828773c3f33180bafad4220a33d4d (patch)
tree54fc76f460f16aac290d7daaeb3572010847d7e3 /alc/panning.cpp
parenta82c29bb4fadc76957946698149eadfdf64395bd (diff)
Use a span instead of a count+pointer
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r--alc/panning.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp
index b3bd3d3b..60b6cbf4 100644
--- a/alc/panning.cpp
+++ b/alc/panning.cpp
@@ -913,7 +913,7 @@ void InitHrtfPanning(ALCdevice *device)
AmbiOrderHFGain);
device->mHrtfState = std::move(hrtfstate);
- InitNearFieldCtrl(device, Hrtf->mField[0].distance, ambi_order, true);
+ InitNearFieldCtrl(device, Hrtf->mFields[0].distance, ambi_order, true);
}
void InitUhjPanning(ALCdevice *device)