diff options
Diffstat (limited to 'Alc/ambidefs.h')
-rw-r--r-- | Alc/ambidefs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/ambidefs.h b/Alc/ambidefs.h index 82eb7ee3..eeb09f75 100644 --- a/Alc/ambidefs.h +++ b/Alc/ambidefs.h @@ -102,6 +102,14 @@ struct AmbiIndex { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }}; + + static constexpr std::array<int,MAX_AMBI2D_COEFFS> From2D{{ + 0, 1,3, 4,8, 9,15 + }}; + static constexpr std::array<int,MAX_AMBI_COEFFS> From3D{{ + 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 14, 15 + }}; }; #endif /* AMBIDEFS_H */ |