diff options
author | Chris Robinson <[email protected]> | 2023-01-10 23:59:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-01-10 23:59:19 -0800 |
commit | a82c29bb4fadc76957946698149eadfdf64395bd (patch) | |
tree | 67898016bb5025347f47315e8d10df5f605d02bb /alc/panning.cpp | |
parent | 6bd541d02e664505e3aacc643a46ecfb6919612f (diff) |
Rename some struct members
And make a related function a member function
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r-- | alc/panning.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp index 80418b39..b3bd3d3b 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->field[0].distance, ambi_order, true); + InitNearFieldCtrl(device, Hrtf->mField[0].distance, ambi_order, true); } void InitUhjPanning(ALCdevice *device) @@ -1075,7 +1075,7 @@ void aluInitRenderer(ALCdevice *device, int hrtf_id, al::optional<StereoEncoding old_hrtf = nullptr; HrtfStore *hrtf{device->mHrtf.get()}; - device->mIrSize = hrtf->irSize; + device->mIrSize = hrtf->mIrSize; if(auto hrtfsizeopt = device->configValue<uint>(nullptr, "hrtf-size")) { if(*hrtfsizeopt > 0 && *hrtfsizeopt < device->mIrSize) |