Browse Source

Disable DSSI osc-midi for now

tags/1.9.4
falkTX 11 years ago
parent
commit
4b68cf1aa1
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      source/backend/plugin/DssiPlugin.cpp

+ 4
- 0
source/backend/plugin/DssiPlugin.cpp View File

@@ -1722,12 +1722,14 @@ public:
if (kData->osc.data.target == nullptr) if (kData->osc.data.target == nullptr)
return; return;


#if 0
uint8_t midiData[4] = { 0 }; uint8_t midiData[4] = { 0 };
midiData[1] = MIDI_STATUS_NOTE_ON + channel; midiData[1] = MIDI_STATUS_NOTE_ON + channel;
midiData[2] = note; midiData[2] = note;
midiData[3] = velo; midiData[3] = velo;


osc_send_midi(&kData->osc.data, midiData); osc_send_midi(&kData->osc.data, midiData);
#endif
} }


void uiNoteOff(const uint8_t channel, const uint8_t note) override void uiNoteOff(const uint8_t channel, const uint8_t note) override
@@ -1742,11 +1744,13 @@ public:
if (kData->osc.data.target == nullptr) if (kData->osc.data.target == nullptr)
return; return;


#if 0
uint8_t midiData[4] = { 0 }; uint8_t midiData[4] = { 0 };
midiData[1] = MIDI_STATUS_NOTE_OFF + channel; midiData[1] = MIDI_STATUS_NOTE_OFF + channel;
midiData[2] = note; midiData[2] = note;


osc_send_midi(&kData->osc.data, midiData); osc_send_midi(&kData->osc.data, midiData);
#endif
} }


// ------------------------------------------------------------------- // -------------------------------------------------------------------


Loading…
Cancel
Save