aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-02-19 15:39:33 -0800
committerChris Robinson <[email protected]>2019-02-19 15:39:33 -0800
commit194fcb6bb7d81c5a82c9437c7ed7dfdb7da0a3e1 (patch)
tree89c0319608082ae1f676655d3169b9ca44a335e9 /Alc/bformatdec.h
parenta75bc26173252b26ff2a75c5851b5399b025152a (diff)
Rename MAX_AMBI_COEFFS and MAX_AMBI2D_COEFFS
Diffstat (limited to 'Alc/bformatdec.h')
-rw-r--r--Alc/bformatdec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/bformatdec.h b/Alc/bformatdec.h
index 2f7ef612..40097f05 100644
--- a/Alc/bformatdec.h
+++ b/Alc/bformatdec.h
@@ -10,7 +10,7 @@
struct AmbDecConf;
-using ChannelDec = ALfloat[MAX_AMBI_COEFFS];
+using ChannelDec = ALfloat[MAX_AMBI_CHANNELS];
class BFormatDec {
static constexpr size_t sHFBand{0};
@@ -20,12 +20,12 @@ class BFormatDec {
ALuint mEnabled; /* Bitfield of enabled channels. */
union MatrixU {
- ALfloat Dual[MAX_OUTPUT_CHANNELS][sNumBands][MAX_AMBI_COEFFS];
- ALfloat Single[MAX_OUTPUT_CHANNELS][MAX_AMBI_COEFFS];
+ ALfloat Dual[MAX_OUTPUT_CHANNELS][sNumBands][MAX_AMBI_CHANNELS];
+ ALfloat Single[MAX_OUTPUT_CHANNELS][MAX_AMBI_CHANNELS];
} mMatrix;
/* NOTE: BandSplitter filters are unused with single-band decoding */
- BandSplitter mXOver[MAX_AMBI_COEFFS];
+ BandSplitter mXOver[MAX_AMBI_CHANNELS];
al::vector<std::array<ALfloat,BUFFERSIZE>, 16> mSamples;
/* These two alias into Samples */