diff options
author | Chris Robinson <chris.kcat@gmail.com> | 2018-11-03 19:51:23 -0700 |
---|---|---|
committer | Chris Robinson <chris.kcat@gmail.com> | 2018-11-03 19:51:23 -0700 |
commit | 96819237d6317c62959dd25bcd37d17e3fa790e8 (patch) | |
tree | abbe402e7d6cd20803a94b35b843535ee776281d /Alc/bformatdec.cpp | |
parent | 4bfaa173c41076051b63aee85ab20572fdce46c2 (diff) |
Convert ambdec.c to C++
Diffstat (limited to 'Alc/bformatdec.cpp')
-rw-r--r-- | Alc/bformatdec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/bformatdec.cpp b/Alc/bformatdec.cpp index 7a3e8ab6..2e0e3b3b 100644 --- a/Alc/bformatdec.cpp +++ b/Alc/bformatdec.cpp @@ -204,9 +204,9 @@ void bformatdec_reset(BFormatDec *dec, const AmbDecConf *conf, ALsizei chancount for(i = 0;i < conf->NumSpeakers;i++) dec->Enabled |= 1 << chanmap[i]; - if(conf->CoeffScale == ADS_SN3D) + if(conf->CoeffScale == AmbDecScale::SN3D) coeff_scale = SN3D2N3DScale; - else if(conf->CoeffScale == ADS_FuMa) + else if(conf->CoeffScale == AmbDecScale::FuMa) coeff_scale = FuMa2N3DScale; memset(dec->UpSampler, 0, sizeof(dec->UpSampler)); |