+/** Last possible matrix channel for each codec */
+#define MAX_MATRIX_CHANNEL_MLP 5
+#define MAX_MATRIX_CHANNEL_TRUEHD 7
+/** Maximum number of channels in a valid stream.
+ * MLP : 5.1 + 2 noise channels -> 8 channels
+ * TrueHD: 7.1 -> 8 channels
+ */
+#define MAX_CHANNELS 8