From 5c23faaa0d86b2d1b18d4f03565bad55c410fb7a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 9 Dec 2010 21:34:46 +0000 Subject: Allow trim of midi regions to before the start of the source (better, this time). Fixes #3156. git-svn-id: svn://localhost/ardour2/branches/3.0@8229 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/evoral/evoral/Event.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/evoral/evoral/Event.hpp') 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; } -- cgit v1.2.3