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
This commit is contained in:
Carl Hetherington 2010-12-09 21:34:46 +00:00
parent 7d4e03e28e
commit 5c23faaa0d
15 changed files with 275 additions and 178 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>;