aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-07-31 01:20:42 -0700
committerChris Robinson <[email protected]>2017-07-31 01:20:42 -0700
commit88c0d22e7c72109fb5d7b2ee3276680d36971368 (patch)
treeb05a8a6ec59740df39e5500a284c2db11ed832ea /Alc/panning.c
parente5431bbef7741155382920ed10e14dc3263e98cd (diff)
Don't bother returning the IR length for B-Format decoding
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index d44b7e18..d1cb6df4 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -951,9 +951,8 @@ static void InitHrtfPanning(ALCdevice *device)
device->RealOut.NumChannels = ChannelsFromDevFmt(device->FmtChans, device->AmbiOrder);
- device->Hrtf->IrSize = BuildBFormatHrtf(device->HrtfHandle,
- device->Hrtf, device->Dry.NumChannels,
- AmbiPoints, AmbiMatrix, COUNTOF(AmbiPoints)
+ BuildBFormatHrtf(device->HrtfHandle,
+ device->Hrtf, device->Dry.NumChannels, AmbiPoints, AmbiMatrix, COUNTOF(AmbiPoints)
);
}