diff options
author | David Robillard <d@drobilla.net> | 2009-10-26 17:24:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-26 17:24:08 +0000 |
commit | 8d168bda874ae05b142e122cb48407ee4e1b442d (patch) | |
tree | 0f1c6d0fb7f463b66dfc521fad2e57e661f0d6f5 /libs/ardour/midi_playlist.cc | |
parent | fa5aeb7892fb73d45782b42da731bc5a51418e79 (diff) |
Remove cyclic Source->Playlist references (and with it all dependence on Playlist from Source and children and a bunch of finicky reference managing code).
git-svn-id: svn://localhost/ardour2/branches/3.0@5925 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_playlist.cc')
-rw-r--r-- | libs/ardour/midi_playlist.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/midi_playlist.cc b/libs/ardour/midi_playlist.cc index 2d042ffb44..a1fb01a7bb 100644 --- a/libs/ardour/midi_playlist.cc +++ b/libs/ardour/midi_playlist.cc @@ -119,7 +119,7 @@ MidiPlaylist::read (MidiRingBuffer<nframes_t>& dst, nframes_t start, nframes_t d on, and remove it from the list we are keeping around, because we don't need it anymore. - if the end of the region (where we want to theoretically resolve notes) + if the end of the region (where we want to theoretically resolve notes) is outside the current read range, then just do it at the start of this read range. */ @@ -128,7 +128,7 @@ MidiPlaylist::read (MidiRingBuffer<nframes_t>& dst, nframes_t start, nframes_t d if (resolve_at >= end) { resolve_at = start; } - + tracker_info.push_back (TrackerInfo (t->second, resolve_at)); DEBUG_TRACE (DEBUG::MidiPlaylistIO, string_compose ("time to resolve & remove tracker for %1 @ %2\n", (*i)->name(), resolve_at)); note_cnt += (t->second->on()); |