diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-24 12:03:54 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-24 12:03:54 -0400 |
commit | 7db12f6b128eef0d63dd6a8eda3d04f4dab1fc79 (patch) | |
tree | 388aecd96220df899626709aeb8c7dbc37fd9088 /libs/ardour/lua_api.cc | |
parent | 9283bee867ce788465f3e48ed889cd324e098e64 (diff) |
convert codebase to use Temporal for various time types
Diffstat (limited to 'libs/ardour/lua_api.cc')
-rw-r--r-- | libs/ardour/lua_api.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/lua_api.cc b/libs/ardour/lua_api.cc index edfbfd44fa..001ddc11bf 100644 --- a/libs/ardour/lua_api.cc +++ b/libs/ardour/lua_api.cc @@ -815,16 +815,16 @@ LuaAPI::Vamp::process (const std::vector<float*>& d, ::Vamp::RealTime rt) return _plugin->process (bufs, rt); } -boost::shared_ptr<Evoral::Note<Evoral::Beats> > -LuaAPI::new_noteptr (uint8_t chan, Evoral::Beats beat_time, Evoral::Beats length, uint8_t note, uint8_t velocity) +boost::shared_ptr<Evoral::Note<Temporal::Beats> > +LuaAPI::new_noteptr (uint8_t chan, Temporal::Beats beat_time, Temporal::Beats length, uint8_t note, uint8_t velocity) { - return boost::shared_ptr<Evoral::Note<Evoral::Beats> > (new Evoral::Note<Evoral::Beats>(chan, beat_time, length, note, velocity)); + return boost::shared_ptr<Evoral::Note<Temporal::Beats> > (new Evoral::Note<Temporal::Beats>(chan, beat_time, length, note, velocity)); } -std::list<boost::shared_ptr<Evoral::Note<Evoral::Beats> > > +std::list<boost::shared_ptr<Evoral::Note<Temporal::Beats> > > LuaAPI::note_list (boost::shared_ptr<MidiModel> mm) { - typedef boost::shared_ptr<Evoral::Note<Evoral::Beats> > NotePtr; + typedef boost::shared_ptr<Evoral::Note<Temporal::Beats> > NotePtr; std::list<NotePtr> note_ptr_list; |