summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-13 13:19:18 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-13 20:35:23 +0200
commit4d03b76ff759e30ea079944c31a87e2b3e7a21ac (patch)
tree15d6dc10168a25b81e246727d4b3f6eea0f8a98e /src
parent869462070671b273ac528e075ac1c00a417cc8a0 (diff)
Support some more random MCA tags seen in the field (EasyDCP 4.2.0).
Diffstat (limited to 'src')
-rw-r--r--src/types.cc6
-rw-r--r--src/types.h3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/types.cc b/src/types.cc
index f4bf8db0..e2165548 100644
--- a/src/types.cc
+++ b/src/types.cc
@@ -547,11 +547,15 @@ dcp::mca_id_to_channel (string id)
return Channel::HI;
} else if (id == "vin" || id == "vi-n") {
return Channel::VI;
+ } else if (id == "lc") {
+ return Channel::LC;
+ } else if (id == "rc") {
+ return Channel::RC;
} else if (id == "lrs" || id == "lsr") {
return Channel::BSL;
} else if (id == "rrs" || id == "rsr") {
return Channel::BSR;
- } else if (id == "dbox") {
+ } else if (id == "dbox" || id == "mtn") {
return Channel::MOTION_DATA;
} else if (id == "sync" || id == "fsksync") {
return Channel::SYNC_SIGNAL;
diff --git a/src/types.h b/src/types.h
index 183ce638..65840e6d 100644
--- a/src/types.h
+++ b/src/types.h
@@ -99,7 +99,8 @@ enum class Channel {
RS = 5, ///< right surround
HI = 6,
VI = 7,
- /* 8 and 9 are not used */
+ LC = 8, ///< not used, but referred to in MainSoundConfiguration in some CPLs
+ RC = 9, ///< not used, but referred to in MainSoundConfiguration in some CPLs
BSL = 10,
BSR = 11,
MOTION_DATA = 12,