[vlc-commits] es: add INPUT_CHAN_MAX

Thomas Guillem git at videolan.org
Mon Jul 10 17:14:06 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 10 13:30:18 2017 +0200| [359e73c2cfc6ded4069336e5650795ec97fd144a] | committer: Thomas Guillem

es: add INPUT_CHAN_MAX

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=359e73c2cfc6ded4069336e5650795ec97fd144a
---

 include/vlc_es.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index 52d4d0cdcd..e9d11d85a8 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -140,7 +140,11 @@ struct audio_format_t
 #define AOUT_CHAN_REVERSESTEREO     0x40000
 
 #define AOUT_CHAN_PHYSMASK          0xFFFF
+/* Maximum number of mapped channels (or the maximum of bits set in
+ * i_physical_channels) */
 #define AOUT_CHAN_MAX               9
+/* Maximum number of unmapped channels */
+#define INPUT_CHAN_MAX              64
 
 /**
  * Picture orientation.



More information about the vlc-commits mailing list