From b830fbb8b91ea8d2946aba4209ef2a9c39ec7220 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sat, 2 Oct 2010 22:02:59 +0200 Subject: fixed numchannels for DCA_3F2R in dts plugin --- plugins/dca/dcaplug.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'plugins/dca') 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) { -- cgit v1.2.3