summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/ControlList.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-23 00:17:31 +0000
committerDavid Robillard <d@drobilla.net>2011-11-23 00:17:31 +0000
commitefe14fbd5291fa25e373e2191b04907b679a7e2e (patch)
treef515796f3bfed33eff0ff34c4463e0610524a99e /libs/evoral/evoral/ControlList.hpp
parent2929cd1c36fdc033f921bd1fcadabb909cc5e563 (diff)
Fix broken whitespace via merciless application of the emacs hammer.
git-svn-id: svn://localhost/ardour2/branches/3.0@10782 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/ControlList.hpp')
-rw-r--r--libs/evoral/evoral/ControlList.hpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp
index 87f214a601..792de036a6 100644
--- a/libs/evoral/evoral/ControlList.hpp
+++ b/libs/evoral/evoral/ControlList.hpp
@@ -35,12 +35,12 @@ class Curve;
/** A single event (time-stamped value) for a control
*/
struct ControlEvent {
- ControlEvent (double w, double v)
- : when (w), value (v), coeff (0)
+ ControlEvent (double w, double v)
+ : when (w), value (v), coeff (0)
{}
- ControlEvent (const ControlEvent& other)
- : when (other.when), value (other.value), coeff (0)
+ ControlEvent (const ControlEvent& other)
+ : when (other.when), value (other.value), coeff (0)
{
if (other.coeff) {
create_coeffs();
@@ -58,9 +58,9 @@ struct ControlEvent {
coeff[0] = coeff[1] = coeff[2] = coeff[3] = 0.0;
}
- double when;
- double value;
- double* coeff; ///< double[4] allocated by Curve as needed
+ double when;
+ double value;
+ double* coeff; ///< double[4] allocated by Curve as needed
};
@@ -68,11 +68,11 @@ struct ControlEvent {
* and allocates 8k blocks of new pointers at a time
*/
typedef boost::fast_pool_allocator<
- ControlEvent*,
- boost::default_user_allocator_new_delete,
- boost::details::pool::null_mutex,
- 8192>
- ControlEventAllocator;
+ ControlEvent*,
+ boost::default_user_allocator_new_delete,
+ boost::details::pool::null_mutex,
+ 8192>
+ControlEventAllocator;
/** A list (sequence) of time-stamped values for a control
@@ -115,7 +115,7 @@ public:
void slide (iterator before, double distance);
void shift (double before, double distance);
- virtual bool clamp_value (double& /*when*/, double& /*value*/) const { return true; }
+ virtual bool clamp_value (double& /*when*/, double& /*value*/) const { return true; }
void rt_add (double when, double value);
void add (double when, double value);
@@ -246,7 +246,7 @@ public:
mutable PBD::Signal0<void> Dirty;
/** Emitted when our interpolation style changes */
PBD::Signal1<void, InterpolationStyle> InterpolationChanged;
-
+
protected:
/** Called by unlocked_eval() to handle cases of 3 or more control points. */
@@ -282,13 +282,13 @@ protected:
EventList events;
double start_time;
double end_time;
-
+
NascentInfo (double start = -1.0)
: start_time (start)
- , end_time (-1.0)
- {}
+ , end_time (-1.0)
+ {}
};
-
+
std::list<NascentInfo*> nascent;
};