diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-08 21:36:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-01-08 21:36:42 +0000 |
commit | d89f209f4a8e94c06de2895ff6fd1830c0e5419d (patch) | |
tree | aeec5ba0e57297fafc8b8e0cf47eb331e355c4b3 /libs/ardour/midi_track.cc | |
parent | 1d8b9515009aaae67ba8974fa4a1e034081848c6 (diff) |
tentative redesign of MIDI looping, will probably fix #5050 but needs more extensive testing; remove several unused parameter names
git-svn-id: svn://localhost/ardour2/branches/3.0@13810 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_track.cc')
-rw-r--r-- | libs/ardour/midi_track.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/midi_track.cc b/libs/ardour/midi_track.cc index 7f2bb641e1..525db3ab96 100644 --- a/libs/ardour/midi_track.cc +++ b/libs/ardour/midi_track.cc @@ -360,6 +360,8 @@ MidiTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame c.set_midi (1); bufs.set_count (c); + assert (nframes > 0); + diskstream->get_playback (mbuf, nframes); /* append immediate messages to the first MIDI buffer (thus sending it to the first output port) */ |