summaryrefslogtreecommitdiff
path: root/plugins/dca
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-18 20:13:32 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-18 20:13:32 +0200
commit4524b74b2c54267e76f143dcbf917b0d728f5ab8 (patch)
tree91e97d6e93b417c287f30bbce81d79e4a698eb8e /plugins/dca
parentaafa6a715ccf53af3dad55ce79de27e1592dcad2 (diff)
fixed dts channelmap
Diffstat (limited to 'plugins/dca')
-rw-r--r--plugins/dca/dcaplug.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/dca/dcaplug.c b/plugins/dca/dcaplug.c
index 3f37b054..af0f5e5e 100644
--- a/plugins/dca/dcaplug.c
+++ b/plugins/dca/dcaplug.c
@@ -185,27 +185,27 @@ static int channel_remap[][7] = {
/// same with LFE
// DCA_MONO
- {1,0},
+ {0,1},
// DCA_CHANNEL
// DCA_STEREO
// DCA_STEREO_SUMDIFF
// DCA_STEREO_TOTAL
- {1,2,0},
- {1,2,0},
- {1,2,0},
- {1,2,0},
+ {0,1,2},
+ {0,1,2},
+ {0,1,2},
+ {0,1,2},
//DCA_3F
- {1,2,3,0},
-//DCA_2F1R
{1,2,0,3},
+//DCA_2F1R
+ {0,1,3,2},
//DCA_3F1R
- {1,2,3,0,4},
+ {1,2,0,4,3},
//DCA_2F2R
- {1,2,0,3,4},
+ {0,1,4,2,3},
//DCA_3F2R
- {1,2,3,0,4,5},
+ {1,2,0,5,3,4},
//DCA_4F2R
- {1,2,0,4,5,6}
+ {1,2,5,3,4,6,7} // FL|FR|LFE|FLC|FRC|RL|RR
};
static inline int16_t convert (int32_t i)