diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-10-02 22:02:59 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-10-02 22:02:59 +0200 |
commit | b830fbb8b91ea8d2946aba4209ef2a9c39ec7220 (patch) | |
tree | 1b336d51f295630a6e1c436c5d044d393d8f3b7e | |
parent | 1801a1e3308604e38f549d417a15fb53bcf5abeb (diff) |
fixed numchannels for DCA_3F2R in dts plugin
-rw-r--r-- | plugins/dca/dcaplug.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/dca/dcaplug.c b/plugins/dca/dcaplug.c index 2757e155..32e935e3 100644 --- a/plugins/dca/dcaplug.c +++ b/plugins/dca/dcaplug.c @@ -401,27 +401,28 @@ dts_init (DB_fileinfo_t *_info, DB_playItem_t *it) { switch (flags) { case DCA_MONO: _info->channels = 1; - break; + break; case DCA_CHANNEL: case DCA_STEREO: case DCA_DOLBY: case DCA_STEREO_SUMDIFF: case DCA_STEREO_TOTAL: _info->channels = 2; - break; + break; case DCA_3F: case DCA_2F1R: _info->channels = 3; - break; + break; case DCA_2F2R: case DCA_3F1R: _info->channels = 4; - break; + break; case DCA_3F2R: _info->channels = 5; + break; case DCA_4F2R: _info->channels = 6; - break; + break; } if (info->flags & DCA_LFE) { |