diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-08 16:49:43 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:11 -0400 |
commit | f9aeb659ee2416ddf365f7e1652c3db6f0a4e427 (patch) | |
tree | fc7962cd87ac8158a020040b2b885dfde759590a /libs/ardour/ardour/export_format_specification.h | |
parent | f837b66c2026bba2a1815aa1a87c78aa9f751d79 (diff) |
indentation and formatting cleanup
Diffstat (limited to 'libs/ardour/ardour/export_format_specification.h')
-rw-r--r-- | libs/ardour/ardour/export_format_specification.h | 75 |
1 files changed, 35 insertions, 40 deletions
diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h index dfc846f16a..87a7729887 100644 --- a/libs/ardour/ardour/export_format_specification.h +++ b/libs/ardour/ardour/export_format_specification.h @@ -115,46 +115,41 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase { Type type () const { return _type; } - FormatId format_id () const - { - if (!format_ids.empty() ) - return *format_ids.begin(); - else - return FormatId(0); - } - - Endianness endianness () const - { - if (!endiannesses.empty() ) - return *endiannesses.begin(); - else - return Endianness(0); - } - - SampleFormat sample_format () const - { - if (!sample_formats.empty() ) - return *sample_formats.begin(); - else - return SampleFormat(0); - } - - SampleRate sample_rate () const - { - if (!sample_rates.empty() ) - return *sample_rates.begin(); - else - return SampleRate(0); - - } - - Quality quality () const - { - if (!qualities.empty() ) - return *qualities.begin(); - else - return Quality(0); - } + FormatId format_id () const { + if (!format_ids.empty() ) + return *format_ids.begin(); + else + return FormatId(0); + } + + Endianness endianness () const { + if (!endiannesses.empty() ) + return *endiannesses.begin(); + else + return Endianness(0); + } + + SampleFormat sample_format () const { + if (!sample_formats.empty() ) + return *sample_formats.begin(); + else + return SampleFormat(0); + } + + SampleRate sample_rate () const { + if (!sample_rates.empty() ) + return *sample_rates.begin(); + else + return SampleRate(0); + + } + + Quality quality () const { + if (!qualities.empty() ) + return *qualities.begin(); + else + return Quality(0); + } DitherType dither_type () const { return _dither_type; } SRCQuality src_quality () const { return _src_quality; } |