Use the correct value for MAX_AMBI2D_CHANNELS

This commit is contained in:
Chris Robinson
2019-03-10 15:39:31 -07:00
parent d99d2a400a
commit 663a6ce4e7
+1 -1
View File
@@ -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