+
+
+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
+{
+ return {
+ NamedChannel(_("Left"), 0),
+ NamedChannel(_("Right"), 1)
+ };
+}