diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-25 22:51:18 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-25 22:51:18 +0200 |
| commit | ba9fb85168d004d7643dc02f911fd173a136758b (patch) | |
| tree | 8beb9b26c9bf47dfe933c8e0ccaccb4e30a69286 /src/lib/upmixer_a.cc | |
| parent | d7cf091bdbbeae8187e887104d1135e93bcdf5da (diff) | |
Add NamedChannel and use it to hide the never-used channels
when mapping into a DCP.
Diffstat (limited to 'src/lib/upmixer_a.cc')
| -rw-r--r-- | src/lib/upmixer_a.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/upmixer_a.cc b/src/lib/upmixer_a.cc index ca42cd386..fc92b081d 100644 --- a/src/lib/upmixer_a.cc +++ b/src/lib/upmixer_a.cc @@ -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; } |
