diff options
author | Chris Robinson <[email protected]> | 2019-01-05 22:31:13 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-01-05 22:31:13 -0800 |
commit | 3b91010e21f607196a3927f617164c4fdb68b5e6 (patch) | |
tree | 182d2fec05cffa36b28b748d7ec9b5fd6728a1c4 /Alc/panning.cpp | |
parent | aa29bf593342643906514fc4497a4428ec1828ab (diff) |
Pass the normalized crossover frequency to the reset method
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp index a89e0493..8de52308 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -450,7 +450,8 @@ void InitPanning(ALCdevice *device) "" ); device->AmbiDecoder.reset(new BFormatDec{}); - device->AmbiDecoder->reset(coeffcount, device->Frequency, count, chancoeffs, idxmap); + device->AmbiDecoder->reset(coeffcount, 400.0f / static_cast<ALfloat>(device->Frequency), + count, chancoeffs, idxmap); if(coeffcount <= 4) { |