Add NamedChannel and use it to hide the never-used channels
[dcpomatic.git] / src / lib / upmixer_b.cc
index 2847da03b520341a1f557a1bab5b04285421a084..dfc9d67d589210052b9ed842eea74f62c01d35fa 100644 (file)
@@ -130,11 +130,11 @@ UpmixerB::make_audio_mapping_default (AudioMapping& mapping) const
        }
 }
 
-vector<string>
+vector<NamedChannel>
 UpmixerB::input_names () const
 {
-       vector<string> n;
-       n.push_back (_("Upmix L"));
-       n.push_back (_("Upmix R"));
+       vector<NamedChannel> n;
+       n.push_back (NamedChannel(_("Upmix L"), 0));
+       n.push_back (NamedChannel(_("Upmix R"), 1));
        return n;
 }