convert codebase to use Temporal for various time types
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user