aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/bformatdec.c')
-rw-r--r--Alc/bformatdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/bformatdec.c b/Alc/bformatdec.c
index a871fb09..7da50692 100644
--- a/Alc/bformatdec.c
+++ b/Alc/bformatdec.c
@@ -310,7 +310,7 @@ void bformatdec_reset(BFormatDec *dec, const AmbDecConf *conf, ALuint chancount,
ratio = 400.0f / (ALfloat)srate;
for(i = 0;i < 4;i++)
bandsplit_init(&dec->UpSampler.XOver[i], ratio);
- if((conf->ChanMask & ~0x831b))
+ if((conf->ChanMask&AMBI_PERIPHONIC_MASK))
{
dec->UpSampler.MatrixHF = CubeMatrixHF;
dec->UpSampler.MatrixLF = CubeMatrixLF;