diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-13 14:10:04 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-13 14:11:29 -0500 |
commit | f41bc70ee900257d2d9008f3a749981b10de16bc (patch) | |
tree | 37f3f5950af81cd5f958da0a37a381dbf256c74d /libs/ardour/ardour/midi_playlist.h | |
parent | 182e35235c41abb6ec7ab92897be0a1a228dd004 (diff) |
change all MIDI read-from-source to map all events into the loop-range for seamless looping (if using)
Diffstat (limited to 'libs/ardour/ardour/midi_playlist.h')
-rw-r--r-- | libs/ardour/ardour/midi_playlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/midi_playlist.h b/libs/ardour/ardour/midi_playlist.h index a84c464801..ad0a812cba 100644 --- a/libs/ardour/ardour/midi_playlist.h +++ b/libs/ardour/ardour/midi_playlist.h @@ -70,6 +70,7 @@ public: * @param buf Destination for events. * @param start First frame of read range. * @param cnt Number of frames in read range. + * @param loop_range If non-null, all event times will be mapped into this loop range. * @param chan_n Must be 0 (this is the audio-style "channel", where each * channel is backed by a separate region, not MIDI channels, which all * exist in the same region and are not handled here). @@ -78,6 +79,7 @@ public: framecnt_t read (Evoral::EventSink<framepos_t>& buf, framepos_t start, framecnt_t cnt, + Evoral::Range<framepos_t>* loop_range, uint32_t chan_n = 0, MidiChannelFilter* filter = NULL); |