mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
Remove _length_pulse from MidiSource.
This commit is contained in:
parent
83fd395476
commit
dcae6c42b6
3 changed files with 0 additions and 11 deletions
|
|
@ -439,8 +439,6 @@ SMFSource::append_event_beats (const Glib::Threads::Mutex::Lock& lock,
|
|||
}
|
||||
|
||||
_length_beats = max(_length_beats, time);
|
||||
/* midi is in quarter note format as distinct from ardour beat */
|
||||
_length_pulse = _length_beats.to_double() / 4.0;
|
||||
|
||||
const Evoral::Beats delta_time_beats = time - _last_ev_time_beats;
|
||||
const uint32_t delta_time_ticks = delta_time_beats.to_ticks(ppqn());
|
||||
|
|
@ -490,8 +488,6 @@ SMFSource::append_event_frames (const Glib::Threads::Mutex::Lock& lock,
|
|||
}
|
||||
|
||||
_length_beats = max(_length_beats, ev_time_beats);
|
||||
/* midi is in quarter note format as distinct from ardour beat */
|
||||
_length_pulse = _length_beats.to_double() / 4.0;
|
||||
|
||||
const Evoral::Beats last_time_beats = converter.from (_last_ev_time_frames);
|
||||
const Evoral::Beats delta_time_beats = ev_time_beats - last_time_beats;
|
||||
|
|
@ -704,8 +700,6 @@ SMFSource::load_model (const Glib::Threads::Mutex::Lock& lock, bool force_reload
|
|||
size = scratch_size;
|
||||
|
||||
_length_beats = max(_length_beats, event_time);
|
||||
/* midi is in quarter note format as distinct from ardour beat */
|
||||
_length_pulse = _length_beats.to_double() / 4.0;
|
||||
}
|
||||
|
||||
/* event ID's must immediately precede the event they are for */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue