Browse Source

Fix plugin bridges midi out always on channel 1

tags/1.9.6
falkTX 9 years ago
parent
commit
b770b0dc1e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/backend/engine/CarlaEngineBridge.cpp

+ 3
- 1
source/backend/engine/CarlaEngineBridge.cpp View File

@@ -1481,7 +1481,9 @@ protected:
midiData = midiData + 4;

// set data
for (uint8_t j=0; j<_midiEvent.size; ++j)
*midiData++ = uint8_t(_midiData[0] | (event.channel & MIDI_CHANNEL_BIT));

for (uint8_t j=1; j<_midiEvent.size; ++j)
*midiData++ = _midiData[j];

curMidiDataPos += 1 /* size*/ + 4 /* time */ + _midiEvent.size;


Loading…
Cancel
Save