X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmid_side_decoder.cc;h=eb87d245b54b7dc6168039157810ad2b68dbb91a;hb=e52d9526f0a49acb72e8b4aa980399b119171ba5;hp=b9b8dd098c9459e2524de2633c36520632631956;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/mid_side_decoder.cc b/src/lib/mid_side_decoder.cc index b9b8dd098..eb87d245b 100644 --- a/src/lib/mid_side_decoder.cc +++ b/src/lib/mid_side_decoder.cc @@ -27,7 +27,7 @@ using std::string; using std::min; using std::vector; -using boost::shared_ptr; +using std::shared_ptr; string MidSideDecoder::name () const @@ -90,13 +90,11 @@ MidSideDecoder::make_audio_mapping_default (AudioMapping& mapping) const } } -vector +vector MidSideDecoder::input_names () const { - vector n; - - n.push_back (_("Left")); - n.push_back (_("Right")); - + vector n; + n.push_back (NamedChannel(_("Left"), 0)); + n.push_back (NamedChannel(_("Right"), 1)); return n; }