mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 15:36:24 +01:00
Midi CC events have no event-ID
Prior to this change the last iterator's ID was used. (event's ID was not updated for CCs)
This commit is contained in:
parent
8b2fb88f15
commit
21b720fddc
1 changed files with 1 additions and 0 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue