aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bformatdec.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/bformatdec.h
parentc4132b80ede60ead27fae595623ac61674ed166a (diff)
Change some macros into constexpr variables
Diffstat (limited to 'alc/bformatdec.h')
-rw-r--r--alc/bformatdec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/bformatdec.h b/alc/bformatdec.h
index adc69dc3..d9cddf51 100644
--- a/alc/bformatdec.h
+++ b/alc/bformatdec.h
@@ -16,7 +16,7 @@ struct AmbDecConf;
struct FrontStablizer;
-using ChannelDec = std::array<float,MAX_AMBI_CHANNELS>;
+using ChannelDec = std::array<float,MaxAmbiChannels>;
class BFormatDec {
static constexpr size_t sHFBand{0};
@@ -59,7 +59,7 @@ public:
const size_t SamplesToDo);
/* Retrieves per-order HF scaling factors for "upsampling" ambisonic data. */
- static std::array<float,MAX_AMBI_ORDER+1> GetHFOrderScales(const uint in_order,
+ static std::array<float,MaxAmbiOrder+1> GetHFOrderScales(const uint in_order,
const uint out_order) noexcept;
static std::unique_ptr<BFormatDec> Create(const AmbDecConf *conf, const bool allow_2band,