mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 11:46:25 +01:00
fix bug that prevents 2 byte MIDI messages (e.g. program change) from being considered as legal.
I suspect that this parsing code is still deeply suspect, but I do not have the time to fully investigate the problems it may have. This commit fixes a very basic bug, and allows program change messages to be passed through to higher levels in the software
This commit is contained in:
parent
3b12ea8a9f
commit
3f5cee742f
1 changed files with 1 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ WavesMidiEvent *WavesMidiEvent::append_data (const PmEvent &midi_event)
|
|||
* (PmMessage*)_data = 0;
|
||||
switch (message_size) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 3:
|
||||
_size = message_size;
|
||||
DEBUG_TRACE (DEBUG::WavesMIDI, string_compose ( "WavesMidiEvent::append_data (): size = %1\n", _size));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue