diff options
author | David Robillard <d@drobilla.net> | 2010-12-24 22:48:05 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-24 22:48:05 +0000 |
commit | bffe0c4f9825b9609acba67dd574d895aa619b66 (patch) | |
tree | b5ab65078edf2e726ea8dea30a0db4ee0dc3d096 /libs/evoral/evoral/Note.hpp | |
parent | 8e201d18a88d4cf4ca1163c32bdc2400c28ead8d (diff) |
Fix broken whitespace.
git-svn-id: svn://localhost/ardour2/branches/3.0@8341 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/Note.hpp')
-rw-r--r-- | libs/evoral/evoral/Note.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/evoral/evoral/Note.hpp b/libs/evoral/evoral/Note.hpp index b30f0a2385..f9d86fc08b 100644 --- a/libs/evoral/evoral/Note.hpp +++ b/libs/evoral/evoral/Note.hpp @@ -32,7 +32,7 @@ namespace Evoral { template<typename Time> class Note { public: - Note(uint8_t chan=0, Time time=0, Time len=0, uint8_t note=0, uint8_t vel=0x40); + Note(uint8_t chan=0, Time time=0, Time len=0, uint8_t note=0, uint8_t vel=0x40); Note(const Note<Time>& copy); ~Note(); @@ -47,8 +47,8 @@ public: channel() == other.channel(); } - inline event_id_t id() const { return _on_event.id(); } - void set_id (event_id_t); + inline event_id_t id() const { return _on_event.id(); } + void set_id (event_id_t); inline Time time() const { return _on_event.time(); } inline Time end_time() const { return _off_event.time(); } @@ -64,7 +64,7 @@ public: inline void set_time(Time t) { _off_event.time() = t + length(); _on_event.time() = t; } inline void set_note(uint8_t n) { _on_event.buffer()[1] = n; _off_event.buffer()[1] = n; } inline void set_velocity(uint8_t n) { _on_event.buffer()[2] = n; } - inline void set_off_velocity(uint8_t n) { _off_event.buffer()[2] = n; } + inline void set_off_velocity(uint8_t n) { _off_event.buffer()[2] = n; } inline void set_length(Time l) { _off_event.time() = _on_event.time() + l; } inline void set_channel(uint8_t c) { _on_event.set_channel(c); _off_event.set_channel(c); } |