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
This commit is contained in:
Carl Hetherington 2010-12-07 19:16:23 +00:00
parent f8e16276d9
commit f3fc6195bc
10 changed files with 82 additions and 21 deletions

View file

@ -90,6 +90,20 @@ Event<Timestamp>::~Event() {
}
}
template<typename Timestamp>
void
Event<Timestamp>::set_time (Timestamp t)
{
_nominal_time = t;
}
template<typename Timestamp>
void
Event<Timestamp>::set_original_time (Timestamp t)
{
_original_time = t;
}
#endif // EVORAL_EVENT_ALLOC
template class Event<Evoral::MusicalTime>;