+
+void
+MidSideDecoder::make_audio_mapping_default (AudioMapping& mapping) const
+{
+ /* Just map the first two input channels to our M/S */
+ mapping.make_zero ();
+ for (int i = 0; i < min (2, mapping.input_channels()); ++i) {
+ mapping.set (i, i, 1);
+ }
+}
+
+vector<NamedChannel>
+MidSideDecoder::input_names () const
+{
+ vector<NamedChannel> n;
+ n.push_back (NamedChannel(_("Left"), 0));
+ n.push_back (NamedChannel(_("Right"), 1));
+ return n;
+}