diff options
author | Chris Robinson <[email protected]> | 2018-11-22 06:59:32 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-22 06:59:32 -0800 |
commit | ab6db9a589ac5ad8daa498e9fedb4de66cbb1948 (patch) | |
tree | fc6e8749da635aa00ed8cbf199239b28ec5fff39 /Alc/panning.cpp | |
parent | 9d73e03aaa6d51d6b787b0d576760f782fc3394f (diff) |
Clean up some unnecessary specifiers
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp index 29c708f6..e0677600 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -857,7 +857,7 @@ static void InitHrtfPanning(ALCdevice *device) count = COUNTOF(IndexMap); } - device->Hrtf = reinterpret_cast<DirectHrtfState*>( + device->mHrtfState = reinterpret_cast<DirectHrtfState*>( al_calloc(16, FAM_SIZE(DirectHrtfState, Chan, count))); for(i = 0;i < count;i++) @@ -892,7 +892,7 @@ static void InitHrtfPanning(ALCdevice *device) device->RealOut.NumChannels = ChannelsFromDevFmt(device->FmtChans, device->mAmbiOrder); BuildBFormatHrtf(device->HrtfHandle, - device->Hrtf, device->Dry.NumChannels, AmbiPoints, AmbiMatrix, COUNTOF(AmbiPoints), + device->mHrtfState, device->Dry.NumChannels, AmbiPoints, AmbiMatrix, COUNTOF(AmbiPoints), AmbiOrderHFGain ); @@ -930,8 +930,8 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf int bs2blevel; size_t i; - al_free(device->Hrtf); - device->Hrtf = nullptr; + al_free(device->mHrtfState); + device->mHrtfState = nullptr; device->HrtfHandle = nullptr; device->HrtfName.clear(); device->Render_Mode = NormalRender; |