aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-28 19:44:34 -0800
committerChris Robinson <[email protected]>2017-02-28 19:48:44 -0800
commit6f2a30dea208f7b6fea2062bf05ebdd45562ee24 (patch)
tree27ea7682f4a27e185827a2a5bc6a783ab7eade0b /Alc/panning.c
parentd3365f1b5b538dd261d9114fb31877b8dba5285d (diff)
Remove an unneeded function
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 77f8e31b..84e1dbed 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -775,7 +775,7 @@ static void InitHQPanning(ALCdevice *device, const AmbDecConf *conf, const ALsiz
);
bformatdec_reset(device->AmbiDecoder, conf, count, device->Frequency, speakermap);
- if(bformatdec_getOrder(device->AmbiDecoder) < 2)
+ if(!(conf->ChanMask > 0xf))
{
device->FOAOut.Ambi = device->Dry.Ambi;
device->FOAOut.CoeffCount = device->Dry.CoeffCount;