aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-03-10 15:39:31 -0700
committerChris Robinson <[email protected]>2019-03-10 15:39:31 -0700
commit663a6ce4e7dbd919fa60e9f86cf6439f69789bd8 (patch)
tree882dba11731d895f36fb1c8b62aca88cbdddec21 /Alc
parentd99d2a400a3f185b4ce9bd2d63cfa9b263c75b12 (diff)
Use the correct value for MAX_AMBI2D_CHANNELS
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ambidefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ambidefs.h b/Alc/ambidefs.h
index bdecfae0..17a9815b 100644
--- a/Alc/ambidefs.h
+++ b/Alc/ambidefs.h
@@ -34,7 +34,7 @@ constexpr inline size_t AmbiChannelsFromOrder(size_t order) noexcept
*/
constexpr inline size_t Ambi2DChannelsFromOrder(size_t order) noexcept
{ return order*2 + 1; }
-#define MAX_AMBI2D_CHANNELS Ambi2DChannelsFromOrder(MAX_AMBI_CHANNELS)
+#define MAX_AMBI2D_CHANNELS Ambi2DChannelsFromOrder(MAX_AMBI_ORDER)
/* NOTE: These are scale factors as applied to Ambisonics content. Decoder