aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-21 13:26:29 -0700
committerChris Robinson <[email protected]>2017-04-21 13:26:29 -0700
commit44f026220fba39a3211b82d5c1fa5ad071ea461e (patch)
tree57d0c74b895f896908acc05bb552620bea47878c /Alc
parentb59359f80f45512210f37b8a8cd4c250d78dd37d (diff)
Correctly enable the ambisonic upsampler for HOA output
Diffstat (limited to 'Alc')
-rw-r--r--Alc/panning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 993346be..4dcd607b 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -1077,7 +1077,7 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf
{
bformatdec_free(device->AmbiDecoder);
device->AmbiDecoder = NULL;
- if(device->FmtChans == DevFmtAmbi3D && device->AmbiOrder == 1)
+ if(device->FmtChans == DevFmtAmbi3D && device->AmbiOrder > 1)
{
if(!device->AmbiUp)
device->AmbiUp = ambiup_alloc();