diff options
Diffstat (limited to 'libs/ardour/midi_model.cc')
-rw-r--r-- | libs/ardour/midi_model.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc index b2d5a80928..7a09804aef 100644 --- a/libs/ardour/midi_model.cc +++ b/libs/ardour/midi_model.cc @@ -33,8 +33,8 @@ using namespace ARDOUR; // Note MidiModel::Note::Note(double t, double d, uint8_t n, uint8_t v) - : _on_event(true, t, 3, NULL) - , _off_event(true, t + d, 3, NULL) + : _on_event(t, 3, NULL, true) + , _off_event(t + d, 3, NULL, true) { _on_event.buffer()[0] = MIDI_CMD_NOTE_ON; _on_event.buffer()[1] = n; |