diff --git a/libs/evoral/evoral/Control.hpp b/libs/evoral/evoral/Control.hpp index bcb9acb78a..bce76eecb9 100644 --- a/libs/evoral/evoral/Control.hpp +++ b/libs/evoral/evoral/Control.hpp @@ -47,7 +47,7 @@ public: * Automation write/touch works by periodically sampling this value * and adding it to the ControlList. */ - double user_double() const { return _user_value; } + double user_double() const { return _user_value; } void set_list(boost::shared_ptr); @@ -63,7 +63,7 @@ public: protected: Parameter _parameter; boost::shared_ptr _list; - double _user_value; + double _user_value; PBD::ScopedConnection _list_marked_dirty_connection; private: diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp index 8b8083f31c..833fae4440 100644 --- a/libs/evoral/evoral/ControlList.hpp +++ b/libs/evoral/evoral/ControlList.hpp @@ -96,8 +96,8 @@ public: bool operator== (const ControlList&); virtual void freeze(); - virtual void thaw (); - bool frozen() const { return _frozen; } + virtual void thaw (); + bool frozen() const { return _frozen; } const Parameter& parameter() const { return _parameter; } void set_parameter(const Parameter& p) { _parameter = p; } @@ -113,12 +113,12 @@ public: void x_scale (double factor); bool extend_to (double); void slide (iterator before, double distance); - void shift (double before, double distance); + void shift (double before, double distance); void rt_add (double when, double value); void add (double when, double value); void fast_simple_add (double when, double value); - void merge_nascent (double when); + void merge_nascent (double when); void reset_range (double start, double end); void erase_range (double start, double end); @@ -235,10 +235,10 @@ public: InterpolationStyle interpolation() const { return _interpolation; } void set_interpolation (InterpolationStyle); - virtual bool touching() const { return false; } - virtual bool writing() const { return false; } - virtual bool touch_enabled() const { return false; } - void write_pass_finished (double when); + virtual bool touching() const { return false; } + virtual bool writing() const { return false; } + virtual bool touch_enabled() const { return false; } + void write_pass_finished (double when); /** Emitted when mark_dirty() is called on this object */ mutable PBD::Signal0 Dirty; @@ -276,20 +276,20 @@ protected: Curve* _curve; - struct NascentInfo { - EventList events; - bool is_touch; - double start_time; - double end_time; + struct NascentInfo { + EventList events; + bool is_touch; + double start_time; + double end_time; - NascentInfo (bool touching, double start = -1.0) - : is_touch (touching) - , start_time (start) - , end_time (-1.0) - {} - }; + NascentInfo (bool touching, double start = -1.0) + : is_touch (touching) + , start_time (start) + , end_time (-1.0) + {} + }; - std::list nascent; + std::list nascent; }; } // namespace Evoral diff --git a/libs/evoral/evoral/ControlSet.hpp b/libs/evoral/evoral/ControlSet.hpp index 9dd5b94b3b..5a8c8fc087 100644 --- a/libs/evoral/evoral/ControlSet.hpp +++ b/libs/evoral/evoral/ControlSet.hpp @@ -37,7 +37,7 @@ class ControlEvent; class ControlSet : public boost::noncopyable { public: ControlSet(); - ControlSet (const ControlSet&); + ControlSet (const ControlSet&); virtual ~ControlSet() {} virtual boost::shared_ptr diff --git a/libs/evoral/evoral/Event.hpp b/libs/evoral/evoral/Event.hpp index 873572e77c..21f83e40b8 100644 --- a/libs/evoral/evoral/Event.hpp +++ b/libs/evoral/evoral/Event.hpp @@ -45,7 +45,7 @@ void init_event_id_counter (event_id_t n); template struct Event { #ifdef EVORAL_EVENT_ALLOC - Event (EventType type=0, Time time=0, uint32_t size=0, uint8_t* buf=NULL, bool alloc=false); + Event (EventType type=0, Time time=0, uint32_t size=0, uint8_t* buf=NULL, bool alloc=false); /** Copy \a copy. * @@ -58,7 +58,7 @@ struct Event { ~Event(); inline const Event& operator=(const Event& copy) { - _id = copy.id(); // XXX is this right? do we want ID copy semantics? + _id = copy.id(); // XXX is this right? do we want ID copy semantics? _type = copy._type; _original_time = copy._original_time; _nominal_time = copy._nominal_time; @@ -173,8 +173,8 @@ struct Event { void set_time (Time); void set_original_time (Time); - inline event_id_t id() const { return _id; } - inline void set_id (event_id_t n) { _id = n; } + inline event_id_t id() const { return _id; } + inline void set_id (event_id_t n) { _id = n; } protected: EventType _type; /**< Type of event (application relative, NOT MIDI 'type') */ @@ -186,7 +186,7 @@ protected: #ifdef EVORAL_EVENT_ALLOC bool _owns_buf; /**< Whether buffer is locally allocated */ #endif - event_id_t _id; /** UUID for each event, should probably be 64bit or at least unsigned */ + event_id_t _id; /** UUID for each event, should probably be 64bit or at least unsigned */ }; } // namespace Evoral diff --git a/libs/evoral/evoral/EventList.hpp b/libs/evoral/evoral/EventList.hpp index a227629549..81243f8cbb 100644 --- a/libs/evoral/evoral/EventList.hpp +++ b/libs/evoral/evoral/EventList.hpp @@ -35,9 +35,9 @@ class EventList : public std::list *>, public Evoral::EventS public: EventList() {} - uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) { + uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) { push_back(new Evoral::Event