[vlc-commits] Reduce i_physical_channels to 16-bits for the time being

Rémi Denis-Courmont git at videolan.org
Sat Apr 21 18:23:51 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Apr 21 18:54:35 2012 +0300| [5069692bfb29b3c01d944096305af4b2becf5bfb] | committer: Rémi Denis-Courmont

Reduce i_physical_channels to 16-bits for the time being

In practice, VLC only supports 9 channels at the moment.

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

 include/vlc_es.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index bc0cbc0..0660f63 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -71,7 +71,7 @@ struct audio_format_t
 
     /* Describes the channels configuration of the samples (ie. number of
      * channels which are available in the buffer, and positions). */
-    uint32_t     i_physical_channels;
+    uint16_t     i_physical_channels;
 
     /* Describes from which original channels, before downmixing, the
      * buffer is derived. */



More information about the vlc-commits mailing list