diff options
author | Chris Robinson <[email protected]> | 2023-01-11 01:01:35 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-11 01:01:35 -0800 |
commit | 05d934ccd1a828773c3f33180bafad4220a33d4d (patch) | |
tree | 54fc76f460f16aac290d7daaeb3572010847d7e3 /alc/panning.cpp | |
parent | a82c29bb4fadc76957946698149eadfdf64395bd (diff) |
Use a span instead of a count+pointer
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r-- | alc/panning.cpp | 2 |
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) |