mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 13:16:27 +01:00
convert codebase to use Temporal for various time types
This commit is contained in:
parent
9283bee867
commit
7db12f6b12
114 changed files with 567 additions and 598 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue