mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Fix pollution of global namespace by Evoral.
git-svn-id: svn://localhost/ardour2/branches/3.0@3947 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
8b951bb9ee
commit
1514039689
12 changed files with 64 additions and 63 deletions
|
|
@ -70,11 +70,11 @@ ControlSet::control (const Parameter& parameter, bool create_if_missing)
|
|||
}
|
||||
|
||||
bool
|
||||
ControlSet::find_next_event (nframes_t now, nframes_t end, ControlEvent& next_event) const
|
||||
ControlSet::find_next_event (FrameTime now, FrameTime end, ControlEvent& next_event) const
|
||||
{
|
||||
Controls::const_iterator li;
|
||||
|
||||
next_event.when = std::numeric_limits<nframes_t>::max();
|
||||
next_event.when = std::numeric_limits<FrameTime>::max();
|
||||
|
||||
for (li = _controls.begin(); li != _controls.end(); ++li) {
|
||||
ControlList::const_iterator i;
|
||||
|
|
@ -95,7 +95,7 @@ ControlSet::find_next_event (nframes_t now, nframes_t end, ControlEvent& next_ev
|
|||
}
|
||||
}
|
||||
|
||||
return next_event.when != std::numeric_limits<nframes_t>::max();
|
||||
return next_event.when != std::numeric_limits<FrameTime>::max();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue