summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-12 22:07:15 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-12 22:07:15 +0000
commita9936a35fbae63311b1132e6283bf28db1d8c233 (patch)
treed5814fbce9525be860966838bf9f0a83e7cf1a2a /src/lib/util.cc
parentad3e8cff006ccecdb44520f8cc8fd1eaa8daf755 (diff)
Extend maximum DCP audio channels to 16.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index 77d66d077..81963e0aa 100644
--- a/src/lib/util.cc
+++ b/src/lib/util.cc
@@ -474,7 +474,7 @@ ensure_ui_thread ()
string
audio_channel_name (int c)
{
- DCPOMATIC_ASSERT (MAX_DCP_AUDIO_CHANNELS == 12);
+ DCPOMATIC_ASSERT (MAX_DCP_AUDIO_CHANNELS == 16);
/// TRANSLATORS: these are the names of audio channels; Lfe (sub) is the low-frequency
/// enhancement channel (sub-woofer). HI is the hearing-impaired audio track and
@@ -492,6 +492,10 @@ audio_channel_name (int c)
_("Right centre"),
_("Left rear surround"),
_("Right rear surround"),
+ _("D-BOX primary"),
+ _("D-BOX secondary"),
+ _("Unused"),
+ _("Unused")
};
return channels[c];