[vlc-commits] aout/common: add missing case for 2F2M2R (Dolby 6.0) in aout_FormatPrintChannels

Lyndon Brown git at videolan.org
Fri Nov 24 08:54:33 CET 2017


vlc | branch: master | Lyndon Brown <jnqnfe at gmail.com> | Sun Apr  9 18:06:06 2017 +0100| [19fa2ebc91bdedfcb4302f9a893c837d17bf6825] | committer: Jean-Baptiste Kempf

aout/common: add missing case for 2F2M2R (Dolby 6.0) in aout_FormatPrintChannels

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 src/audio_output/common.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 391abf0557..8fb9a00cf7 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -197,6 +197,10 @@ const char * aout_FormatPrintChannels( const audio_sample_format_t * p_format )
     case AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_CENTER
           | AOUT_CHAN_MIDDLELEFT | AOUT_CHAN_MIDDLERIGHT | AOUT_CHAN_LFE:
         return "3F2M/LFE";
+    case AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT
+          | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT | AOUT_CHAN_MIDDLELEFT
+          | AOUT_CHAN_MIDDLERIGHT:
+        return "2F2M2R";
     case AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT | AOUT_CHAN_CENTER
           | AOUT_CHAN_REARLEFT | AOUT_CHAN_REARRIGHT | AOUT_CHAN_MIDDLELEFT
           | AOUT_CHAN_MIDDLERIGHT:



More information about the vlc-commits mailing list