mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 02:56:35 +01:00
Make SMF::append_event_delta take a buffer and a size rather than an Event (no point, more generic, etc.).
git-svn-id: svn://localhost/ardour2/branches/3.0@4567 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ea37584cac
commit
d0cc3120ae
3 changed files with 12 additions and 18 deletions
|
|
@ -303,7 +303,7 @@ SMFSource::append_event_unlocked(EventTimeUnit unit, const Evoral::Event<double>
|
|||
delta_time = (uint32_t)((ev.time() - last_event_time()) * ppqn());
|
||||
}
|
||||
|
||||
Evoral::SMF<double>::append_event_delta(delta_time, ev);
|
||||
Evoral::SMF<double>::append_event_delta(delta_time, ev.size(), ev.buffer());
|
||||
_last_ev_time = ev.time();
|
||||
|
||||
_write_data_count += ev.size();
|
||||
|
|
@ -619,7 +619,6 @@ SMFSource::load_model(bool lock, bool force_reload)
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
if (lock) {
|
||||
Glib::Mutex::Lock lm (_lock);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue