From 5df770bf97b1cc7ac1c73e68fb617164f662d7b7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 Jan 2013 21:46:24 +0000 Subject: Shrink Machine via better alignment. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4924 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/Machine.cpp | 2 +- src/engine/machina/Machine.hpp | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/engine/Machine.cpp b/src/engine/Machine.cpp index 24e6aaf..9538be2 100644 --- a/src/engine/Machine.cpp +++ b/src/engine/Machine.cpp @@ -40,9 +40,9 @@ namespace Machina { Machine::Machine(TimeUnit unit) : _active_nodes(MAX_ACTIVE_NODES, SharedPtr()) + , _time(unit, 0, 0) , _is_activated(false) , _is_finished(false) - , _time(unit, 0, 0) { } diff --git a/src/engine/machina/Machine.hpp b/src/engine/machina/Machine.hpp index 0109742..6691b43 100644 --- a/src/engine/machina/Machine.hpp +++ b/src/engine/machina/Machine.hpp @@ -85,7 +85,6 @@ public: void set_sink(SharedPtr sink); private: - // Audio context SharedPtr earliest_node() const; bool enter_node(Context& context, SharedPtr sink, SharedPtr node, SharedPtr updates); @@ -94,12 +93,12 @@ private: static const size_t MAX_ACTIVE_NODES = 128; std::vector< SharedPtr > _active_nodes; - bool _is_activated; - bool _is_finished; - Raul::TimeStamp _time; SharedPtr _pending_learn; WeakPtr _sink; Nodes _nodes; + Raul::TimeStamp _time; + bool _is_activated; + bool _is_finished; }; } // namespace Machina -- cgit v1.2.1