diff options
author | Chris Robinson <[email protected]> | 2016-03-14 09:04:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-14 20:13:50 -0700 |
commit | 919b35295e1b05293fd9f99a9a3f6d3f07a9c370 (patch) | |
tree | 1bdd8623d20f048123726775bc68deafd59de6e7 /OpenAL32 | |
parent | 0220404a9152d2cb3024308655d4f0e6119167fa (diff) |
Add a loader for ambdec files
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index aae19b05..86311761 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -397,7 +397,8 @@ enum RenderMode { /* The maximum number of Ambisonics coefficients. For a given order (o), the * size needed will be (o+1)**2, thus zero-order has 1, first-order has 4, * second-order has 9, and third-order has 16. */ -#define MAX_AMBI_COEFFS 16 +#define MAX_AMBI_ORDER 3 +#define MAX_AMBI_COEFFS ((MAX_AMBI_ORDER+1) * (MAX_AMBI_ORDER+1)) typedef ALfloat ChannelConfig[MAX_AMBI_COEFFS]; |