From 3f6829abef9cc03bc344c4cad1bc7abe9490d1fd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 01:44:21 +0000 Subject: Lint. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4289 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/internals/Note.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/server/internals/Note.hpp') diff --git a/src/server/internals/Note.hpp b/src/server/internals/Note.hpp index 4053c052..8e83a404 100644 --- a/src/server/internals/Note.hpp +++ b/src/server/internals/Note.hpp @@ -68,14 +68,18 @@ private: struct Key { enum State { OFF, ON_ASSIGNED, ON_UNASSIGNED }; Key() : state(OFF), voice(0), time(0) {} - State state; uint32_t voice; SampleCount time; + State state; + uint32_t voice; + SampleCount time; }; /** Voice, one of these always exists for each voice */ struct Voice { enum State { FREE, ACTIVE, HOLDING }; Voice() : state(FREE), note(0), time(0) {} - State state; uint8_t note; SampleCount time; + State state; + uint8_t note; + SampleCount time; }; float note_to_freq(int num); -- cgit v1.2.1