From 03536cd399131e3fec54c95ae5ac6f11dca05aef Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Feb 2009 00:58:35 +0000 Subject: Fix a bunch of warnings. Clean up. git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/export_format_specification.cc | 53 +++++++++++++++--------------- 1 file changed, 27 insertions(+), 26 deletions(-) (limited to 'libs/ardour/export_format_specification.cc') diff --git a/libs/ardour/export_format_specification.cc b/libs/ardour/export_format_specification.cc index c0325509b1..ab05aa4a64 100644 --- a/libs/ardour/export_format_specification.cc +++ b/libs/ardour/export_format_specification.cc @@ -160,24 +160,24 @@ ExportFormatSpecification::Time::set_state (const XMLNode & node) return 0; } -ExportFormatSpecification::ExportFormatSpecification (Session & s) : - session (s), - - has_sample_format (false), - supports_tagging (false), - _has_broadcast_info (false), - _channel_limit (0), - _dither_type (D_None), - _src_quality (SRC_SincBest), - _tag (true), - - _trim_beginning (false), - _silence_beginning (s), - _trim_end (false), - _silence_end (s), - - _normalize (false), - _normalize_target (1.0) +ExportFormatSpecification::ExportFormatSpecification (Session & s) + : session (s) + + , has_sample_format (false) + , supports_tagging (false) + , _has_broadcast_info (false) + , _channel_limit (0) + , _dither_type (D_None) + , _src_quality (SRC_SincBest) + , _tag (true) + + , _trim_beginning (false) + , _silence_beginning (s) + , _trim_end (false) + , _silence_end (s) + + , _normalize (false) + , _normalize_target (1.0) { format_ids.insert (F_None); endiannesses.insert (E_FileDefault); @@ -186,10 +186,10 @@ ExportFormatSpecification::ExportFormatSpecification (Session & s) : qualities.insert (Q_None); } -ExportFormatSpecification::ExportFormatSpecification (Session & s, XMLNode const & state) : - session (s), - _silence_beginning (s), - _silence_end (s) +ExportFormatSpecification::ExportFormatSpecification (Session & s, XMLNode const & state) + : session (s) + , _silence_beginning (s) + , _silence_end (s) { _silence_beginning.type = Time::SMPTE; _silence_end.type = Time::SMPTE; @@ -197,10 +197,11 @@ ExportFormatSpecification::ExportFormatSpecification (Session & s, XMLNode const set_state (state); } -ExportFormatSpecification::ExportFormatSpecification (ExportFormatSpecification const & other) : - session (other.session), - _silence_beginning (other.session), - _silence_end (other.session) +ExportFormatSpecification::ExportFormatSpecification (ExportFormatSpecification const & other) + : ExportFormatBase(other) + , session (other.session) + , _silence_beginning (other.session) + , _silence_end (other.session) { set_name (other.name() + " (copy)"); -- cgit v1.2.3