[vlc-devel] commit: DTS: fix the channelorder of DTS. (Derk-Jan Hartman )

git version control git at videolan.org
Sat Sep 20 13:58:12 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sat Sep 20 14:00:09 2008 +0200| [4643e4bb80be20418b5dd409b1126d13b2334a4e] | committer: Derk-Jan Hartman 

DTS: fix the channelorder of DTS.

Note the libdca currently does not support DTS-ES (6.1/7.1)
Also, 3F1R is still untested for DTS, because I have no such sample.

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

 modules/audio_filter/converter/dtstofloat32.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/audio_filter/converter/dtstofloat32.c b/modules/audio_filter/converter/dtstofloat32.c
index f445768..4041cb7 100644
--- a/modules/audio_filter/converter/dtstofloat32.c
+++ b/modules/audio_filter/converter/dtstofloat32.c
@@ -56,11 +56,11 @@ static void CloseFilter( vlc_object_t * );
 static block_t *Convert( filter_t *, block_t * );
 
 /* libdca channel order
- * FIXME middle values should be checked */
+ * libdca currently only decodes 5.1, even if you have a DTS-ES source. */
 static const uint32_t pi_channels_in[] =
-{ AOUT_CHAN_LFE, AOUT_CHAN_LEFT, AOUT_CHAN_CENTER, AOUT_CHAN_RIGHT,
-  AOUT_CHAN_REARLEFT, AOUT_CHAN_REARCENTER, AOUT_CHAN_REARRIGHT,
-  AOUT_CHAN_MIDDLELEFT, AOUT_CHAN_MIDDLERIGHT,
+{ AOUT_CHAN_CENTER, AOUT_CHAN_LEFT, AOUT_CHAN_RIGHT,
+  AOUT_CHAN_REARCENTER, AOUT_CHAN_REARLEFT, AOUT_CHAN_REARRIGHT,
+  AOUT_CHAN_LFE,
   0 };
 
 /*****************************************************************************




More information about the vlc-devel mailing list