aboutsummaryrefslogtreecommitdiffstats
path: root/alc/ambdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-12-04 13:53:56 -0800
committerChris Robinson <[email protected]>2020-12-04 13:53:56 -0800
commit50e33ce8f49fdf40a9c48871d63e2cb49d72c94f (patch)
tree71273dd81371f9b14db1ffe138baf769f471d886 /alc/ambdec.h
parentc4132b80ede60ead27fae595623ac61674ed166a (diff)
Change some macros into constexpr variables
Diffstat (limited to 'alc/ambdec.h')
-rw-r--r--alc/ambdec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/ambdec.h b/alc/ambdec.h
index ff7b71ee..db662a76 100644
--- a/alc/ambdec.h
+++ b/alc/ambdec.h
@@ -34,12 +34,12 @@ struct AmbDecConf {
};
al::vector<SpeakerConf> Speakers;
- using CoeffArray = std::array<float,MAX_AMBI_CHANNELS>;
+ using CoeffArray = std::array<float,MaxAmbiChannels>;
/* Unused when FreqBands == 1 */
- float LFOrderGain[MAX_AMBI_ORDER+1]{};
+ float LFOrderGain[MaxAmbiOrder+1]{};
al::vector<CoeffArray> LFMatrix;
- float HFOrderGain[MAX_AMBI_ORDER+1]{};
+ float HFOrderGain[MaxAmbiOrder+1]{};
al::vector<CoeffArray> HFMatrix;
int load(const char *fname) noexcept;