+2015-11-12 Carl Hetherington <cth@carlh.net>
+
+ * Extend maximum audio channels to 16 for an experiment.
+
2015-11-12 c.hetherington <cth@carlh.net>
* Updated ru_RU translation from Igor Voytovich.
return audio_processor()->input_names ();
}
+ DCPOMATIC_ASSERT (MAX_DCP_AUDIO_CHANNELS == 16);
+
vector<string> n;
n.push_back (_("L"));
n.push_back (_("R"));
n.push_back (_("Rc"));
n.push_back (_("BsL"));
n.push_back (_("BsR"));
+ n.push_back (_("DBP"));
+ n.push_back (_("DBS"));
+ n.push_back (_("NC"));
+ n.push_back (_("NC"));
return vector<string> (n.begin(), n.begin() + audio_channels ());
}
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
_("Right centre"),
_("Left rear surround"),
_("Right rear surround"),
+ _("D-BOX primary"),
+ _("D-BOX secondary"),
+ _("Unused"),
+ _("Unused")
};
return channels[c];
}
/** The maximum number of audio channels that we can have in a DCP */
-#define MAX_DCP_AUDIO_CHANNELS 12
+#define MAX_DCP_AUDIO_CHANNELS 16
/** Message broadcast to find possible encoding servers */
#define DCPOMATIC_HELLO "I mean really, Ray, it's used."
/** Number of films to keep in history */
DCPPanel::setup_audio_channels_choice ()
{
vector<pair<string, string> > items;
- for (int i = minimum_allowed_audio_channels(); i <= 12; i += 2) {
+ for (int i = minimum_allowed_audio_channels(); i <= 16; i += 2) {
items.push_back (make_pair (dcp::raw_convert<string> (i), dcp::raw_convert<string> (i)));
}