X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fexport_format_specification.cc;h=b139faeee2997d8401a9e4de77dfe2547254ff74;hb=07112b55e0bb7ceb9e5c05ab4df167ecaf7edd9b;hp=66deabc6235977dfbf67143ab8bfb02c78fc9aa4;hpb=0925abbc92bab66224b8886dcc21e6f2d4641afa;p=ardour.git diff --git a/libs/ardour/export_format_specification.cc b/libs/ardour/export_format_specification.cc index 66deabc623..b139faeee2 100644 --- a/libs/ardour/export_format_specification.cc +++ b/libs/ardour/export_format_specification.cc @@ -189,13 +189,17 @@ ExportFormatSpecification::ExportFormatSpecification (Session & s, XMLNode const set_state (state); } -ExportFormatSpecification::ExportFormatSpecification (ExportFormatSpecification const & other) +ExportFormatSpecification::ExportFormatSpecification (ExportFormatSpecification const & other, bool modify_name) : ExportFormatBase(other) , session (other.session) , _silence_beginning (other.session) , _silence_end (other.session) { - set_name (other.name() + " (copy)"); + if (modify_name) { + set_name (other.name() + " (copy)"); + } else { + set_name (other.name()); + } _format_name = other._format_name; has_sample_format = other.has_sample_format; @@ -530,15 +534,15 @@ ExportFormatSpecification::description (bool include_name) list components; if (_normalize) { - components.push_back (_("normalize, ")); + components.push_back (_("normalize")); } if (_trim_beginning && _trim_end) { - components.push_back ( _("trim, ")); + components.push_back ( _("trim")); } else if (_trim_beginning) { - components.push_back (_("trim start, ")); + components.push_back (_("trim start")); } else if (_trim_end) { - components.push_back (_("trim end, ")); + components.push_back (_("trim end")); } if (_format_name != "") { @@ -550,6 +554,9 @@ ExportFormatSpecification::description (bool include_name) } switch (sample_rate()) { + case SR_8: + components.push_back ("8 kHz"); + break; case SR_22_05: components.push_back ("22,5 kHz"); break;