Add NamedChannel and use it to hide the never-used channels
[dcpomatic.git] / src / lib / upmixer_a.cc
index ca42cd3867ab7e935b1713ea83d36f51a810a7c9..fc92b081d2812943f577e72589d06583b3ad40b8 100644 (file)
@@ -120,11 +120,11 @@ UpmixerA::make_audio_mapping_default (AudioMapping& mapping) const
        }
 }
 
-vector<string>
+vector<NamedChannel>
 UpmixerA::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;
 }