diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-04 14:51:05 -0400 |
commit | 4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch) | |
tree | e54104d57d6c2da7840979181368151fd0819c96 /libs/audiographer | |
parent | 297e80e020da94a56984b20782584bb1dd96ea34 (diff) |
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/audiographer')
-rw-r--r-- | libs/audiographer/audiographer/debuggable.h | 2 | ||||
-rw-r--r-- | libs/audiographer/audiographer/general/interleaver.h | 6 | ||||
-rw-r--r-- | libs/audiographer/audiographer/general/sample_format_converter.h | 2 | ||||
-rw-r--r-- | libs/audiographer/audiographer/throwing.h | 2 | ||||
-rw-r--r-- | libs/audiographer/audiographer/type_utils.h | 2 | ||||
-rw-r--r-- | libs/audiographer/audiographer/visibility.h | 2 | ||||
-rw-r--r-- | libs/audiographer/src/debug_utils.cc | 2 | ||||
-rw-r--r-- | libs/audiographer/src/general/normalizer.cc | 2 | ||||
-rw-r--r-- | libs/audiographer/src/general/sample_format_converter.cc | 2 | ||||
-rw-r--r-- | libs/audiographer/src/general/sr_converter.cc | 8 | ||||
-rw-r--r-- | libs/audiographer/src/routines.cc | 2 |
11 files changed, 16 insertions, 16 deletions
diff --git a/libs/audiographer/audiographer/debuggable.h b/libs/audiographer/audiographer/debuggable.h index 1cc1d6f725..6ca544a87e 100644 --- a/libs/audiographer/audiographer/debuggable.h +++ b/libs/audiographer/audiographer/debuggable.h @@ -24,7 +24,7 @@ enum LIBAUDIOGRAPHER_API DebugLevel }; /** Class that allows optimizing out debugging code during compile time. - * Usage: to take all advantage of this class you should wrap all + * Usage: to take all advantage of this class you should wrap all * debugging statemets like this: * \code * if (debug_level (SomeDebugLevel) && other_optional_conditionals) { diff --git a/libs/audiographer/audiographer/general/interleaver.h b/libs/audiographer/audiographer/general/interleaver.h index fe174c9fcb..2bc62e5443 100644 --- a/libs/audiographer/audiographer/general/interleaver.h +++ b/libs/audiographer/audiographer/general/interleaver.h @@ -20,7 +20,7 @@ class /*LIBAUDIOGRAPHER_API*/ Interleaver : public ListedSource<T> , public Throwing<> { - public: + public: /// Constructs an interleaver \n RT safe Interleaver() @@ -57,8 +57,8 @@ class /*LIBAUDIOGRAPHER_API*/ Interleaver return boost::static_pointer_cast<Sink<T> > (inputs[channel]); } - private: - + private: + class Input : public Sink<T> { public: diff --git a/libs/audiographer/audiographer/general/sample_format_converter.h b/libs/audiographer/audiographer/general/sample_format_converter.h index b2efc69cab..af30ac1605 100644 --- a/libs/audiographer/audiographer/general/sample_format_converter.h +++ b/libs/audiographer/audiographer/general/sample_format_converter.h @@ -19,7 +19,7 @@ enum /*LIBAUDIOGRAPHER_API*/ DitherType }; /** Sample format converter that does dithering. - * This class can only convert floats to either \a float, \a int32_t, \a int16_t, or \a uint8_t + * This class can only convert floats to either \a float, \a int32_t, \a int16_t, or \a uint8_t */ template <typename TOut> class LIBAUDIOGRAPHER_API SampleFormatConverter diff --git a/libs/audiographer/audiographer/throwing.h b/libs/audiographer/audiographer/throwing.h index ecf7aecd49..8bd8415560 100644 --- a/libs/audiographer/audiographer/throwing.h +++ b/libs/audiographer/audiographer/throwing.h @@ -26,7 +26,7 @@ enum /*LIBAUDIOGRAPHER_API*/ ThrowLevel }; /** Class that allows optimizing out error checking during compile time. - * Usage: to take all advantage of this class you should wrap all + * Usage: to take all advantage of this class you should wrap all * throwing statemets like this: * \code * if (throw_level (SomeThrowLevel) && other_optional_conditionals) { diff --git a/libs/audiographer/audiographer/type_utils.h b/libs/audiographer/audiographer/type_utils.h index 7245822e26..e86fbcc282 100644 --- a/libs/audiographer/audiographer/type_utils.h +++ b/libs/audiographer/audiographer/type_utils.h @@ -33,7 +33,7 @@ class /*LIBAUDIOGRAPHER_API*/ TypeUtils : private TypeUtilsBase { BOOST_STATIC_ASSERT (boost::has_trivial_destructor<T>::value); - typedef boost::integral_constant<bool, + typedef boost::integral_constant<bool, boost::is_floating_point<T>::value || boost::is_signed<T>::value> zero_fillable; public: diff --git a/libs/audiographer/audiographer/visibility.h b/libs/audiographer/audiographer/visibility.h index 31a7511f8b..8581f518e9 100644 --- a/libs/audiographer/audiographer/visibility.h +++ b/libs/audiographer/audiographer/visibility.h @@ -38,7 +38,7 @@ #define LIBAUDIOGRAPHER_API LIBAUDIOGRAPHER_DLL_EXPORT #else #define LIBAUDIOGRAPHER_API LIBAUDIOGRAPHER_DLL_IMPORT - #endif + #endif #define LIBAUDIOGRAPHER_LOCAL LIBAUDIOGRAPHER_DLL_LOCAL #endif diff --git a/libs/audiographer/src/debug_utils.cc b/libs/audiographer/src/debug_utils.cc index 3f58b33a27..c243164f58 100644 --- a/libs/audiographer/src/debug_utils.cc +++ b/libs/audiographer/src/debug_utils.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Paul Davis + Copyright (C) 2012 Paul Davis Author: Sakari Bergen This program is free software; you can redistribute it and/or modify diff --git a/libs/audiographer/src/general/normalizer.cc b/libs/audiographer/src/general/normalizer.cc index 3cc849cb8d..5497c2ab14 100644 --- a/libs/audiographer/src/general/normalizer.cc +++ b/libs/audiographer/src/general/normalizer.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Paul Davis + Copyright (C) 2012 Paul Davis Author: Sakari Bergen This program is free software; you can redistribute it and/or modify diff --git a/libs/audiographer/src/general/sample_format_converter.cc b/libs/audiographer/src/general/sample_format_converter.cc index aaeda09477..a04ebfc25c 100644 --- a/libs/audiographer/src/general/sample_format_converter.cc +++ b/libs/audiographer/src/general/sample_format_converter.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Paul Davis + Copyright (C) 2012 Paul Davis Author: Sakari Bergen This program is free software; you can redistribute it and/or modify diff --git a/libs/audiographer/src/general/sr_converter.cc b/libs/audiographer/src/general/sr_converter.cc index 90660aac53..512e57a743 100644 --- a/libs/audiographer/src/general/sr_converter.cc +++ b/libs/audiographer/src/general/sr_converter.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Paul Davis + Copyright (C) 2012 Paul Davis Author: Sakari Bergen This program is free software; you can redistribute it and/or modify @@ -59,7 +59,7 @@ SampleRateConverter::init (framecnt_t in_rate, framecnt_t out_rate, int quality) int err; src_state = src_new (quality, channels, &err); if (throw_level (ThrowObject) && !src_state) { - throw Exception (*this, str (format + throw Exception (*this, str (format ("Cannot initialize sample rate converter: %1%") % src_strerror (err))); } @@ -161,7 +161,7 @@ SampleRateConverter::process (ProcessContext<float> const & c) err = src_process (src_state, &src_data); if (throw_level (ThrowProcess) && err) { - throw Exception (*this, str (format + throw Exception (*this, str (format ("An error occured during sample rate conversion: %1%") % src_strerror (err))); } @@ -189,7 +189,7 @@ SampleRateConverter::process (ProcessContext<float> const & c) } if (throw_level (ThrowProcess) && src_data.output_frames_gen == 0 && leftover_frames) { - throw Exception (*this, boost::str (boost::format + throw Exception (*this, boost::str (boost::format ("No output frames genereated with %1% leftover frames") % leftover_frames)); } diff --git a/libs/audiographer/src/routines.cc b/libs/audiographer/src/routines.cc index 6d67f6583e..811320f615 100644 --- a/libs/audiographer/src/routines.cc +++ b/libs/audiographer/src/routines.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Paul Davis + Copyright (C) 2012 Paul Davis Author: Sakari Bergen This program is free software; you can redistribute it and/or modify |