Automatable now requires (and owns) a time domain to be used by automation data

This commit is contained in:
Paul Davis 2021-01-13 09:02:47 -07:00
parent 2131adec9d
commit 7c10cf1d54
39 changed files with 78 additions and 60 deletions

View file

@ -86,7 +86,7 @@ Sequence<Time>::const_iterator::const_iterator(const Sequence<Time>&
: _seq(&seq)
, _active_patch_change_message (0)
, _type(NIL)
, _is_end((t == DBL_MAX) || seq.empty())
, _is_end((t == std::numeric_limits<Time>::max()) || seq.empty())
, _note_iter(seq.notes().end())
, _sysex_iter(seq.sysexes().end())
, _patch_change_iter(seq.patch_changes().end())