projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b2fb88
)
Midi CC events have no event-ID
author
Robin Gareus
<robin@gareus.org>
Fri, 18 Sep 2015 15:37:03 +0000
(17:37 +0200)
committer
Robin Gareus
<robin@gareus.org>
Fri, 18 Sep 2015 15:37:03 +0000
(17:37 +0200)
Prior to this change the last iterator's ID was used. (event's ID was
not updated for CCs)
libs/evoral/src/Sequence.cpp
patch
|
blob
|
history
diff --git
a/libs/evoral/src/Sequence.cpp
b/libs/evoral/src/Sequence.cpp
index 526256bf5e274be9b197329420b3f0454a802fcf..0b3d4ac8e187246daa264c4ca539e830d7ade08e 100644
(file)
--- a/
libs/evoral/src/Sequence.cpp
+++ b/
libs/evoral/src/Sequence.cpp
@@
-534,6
+534,7
@@
Sequence<Time>::control_to_midi_event(
uint8_t midi_type = _type_map.parameter_midi_type(iter.list->parameter());
ev->set_event_type(_type_map.midi_event_type(midi_type));
+ ev->set_id(-1);
switch (midi_type) {
case MIDI_CMD_CONTROL:
assert(iter.list.get());