diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-27 03:09:30 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-27 03:09:30 +0000 |
commit | 3845af6ce92ef15637ffb09410f442e7b4a104c3 (patch) | |
tree | 218a29f23c83c3ac57c857d3b1f599f1e6d97a14 /libs/evoral/src/Event.cpp | |
parent | c6be9b688802198e04a07dc902c49d1d6b66340e (diff) |
lots of MIDI editing stuff. to be explained on the website when its done
git-svn-id: svn://localhost/ardour2/branches/3.0@5596 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/src/Event.cpp')
-rw-r--r-- | libs/evoral/src/Event.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/evoral/src/Event.cpp b/libs/evoral/src/Event.cpp index dc13a070ee..d70ba1a04b 100644 --- a/libs/evoral/src/Event.cpp +++ b/libs/evoral/src/Event.cpp @@ -25,7 +25,8 @@ namespace Evoral { template<typename Timestamp> Event<Timestamp>::Event(EventType type, Timestamp time, uint32_t size, uint8_t* buf, bool alloc) : _type(type) - , _time(time) + , _original_time(time) + , _nominal_time(time) , _size(size) , _buf(buf) , _owns_buf(alloc) @@ -43,7 +44,8 @@ Event<Timestamp>::Event(EventType type, Timestamp time, uint32_t size, uint8_t* template<typename Timestamp> Event<Timestamp>::Event(const Event& copy, bool owns_buf) : _type(copy._type) - , _time(copy._time) + , _original_time(copy._original_time) + , _nominal_time(copy._nominal_time) , _size(copy._size) , _buf(copy._buf) , _owns_buf(owns_buf) @@ -67,7 +69,7 @@ Event<Timestamp>::~Event() { #endif // EVORAL_EVENT_ALLOC -template class Event<double>; +template class Event<Evoral::MusicalTime>; template class Event<uint32_t>; } // namespace Evoral |