mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
add SMFSource::end_track() to provide source-level access to SMF method
This commit is contained in:
parent
73065f814a
commit
586ac7e447
2 changed files with 9 additions and 0 deletions
|
|
@ -63,6 +63,7 @@ public:
|
|||
void mark_midi_streaming_write_completed (const WriterLock& lock,
|
||||
Evoral::Sequence<Temporal::Beats>::StuckNoteOption,
|
||||
Temporal::timecnt_t const & duration);
|
||||
void end_track (const WriterLock&);
|
||||
|
||||
XMLNode& get_state () const;
|
||||
int set_state (const XMLNode&, int version);
|
||||
|
|
|
|||
|
|
@ -634,6 +634,14 @@ SMFSource::mark_streaming_midi_write_started (const WriterLock& lock, NoteMode m
|
|||
_last_ev_time_samples = 0;
|
||||
}
|
||||
|
||||
void
|
||||
SMFSource::end_track (const WriterLock& lock)
|
||||
{
|
||||
Evoral::SMF::end_track ();
|
||||
_last_ev_time_beats = Temporal::Beats();
|
||||
_last_ev_time_samples = 0;
|
||||
}
|
||||
|
||||
void
|
||||
SMFSource::mark_streaming_write_completed (const WriterLock& lm, Temporal::timecnt_t const & duration)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue