diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-07 19:16:23 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-07 19:16:23 +0000 |
commit | f3fc6195bc6136a31b08ffe8c260a64efe77f9dc (patch) | |
tree | c9d98183fc9d14cd22ff7d076c593fef9bc9fa2f /libs/evoral/evoral/Event.hpp | |
parent | f8e16276d9a598eb6425ae393dc0bd62cd2df05b (diff) |
Allow trim of midi regions to before the start of the source. Fixes #3156.
git-svn-id: svn://localhost/ardour2/branches/3.0@8212 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/Event.hpp')
-rw-r--r-- | libs/evoral/evoral/Event.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/evoral/evoral/Event.hpp b/libs/evoral/evoral/Event.hpp index 2410b3684a..873572e77c 100644 --- a/libs/evoral/evoral/Event.hpp +++ b/libs/evoral/evoral/Event.hpp @@ -170,6 +170,9 @@ struct Event { inline const uint8_t* buffer() const { return _buf; } inline uint8_t*& buffer() { return _buf; } + 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; } |