Browse Source

carla-vst: Send audioMasterWantMidi to host on activattion

tags/1.9.5
falkTX 10 years ago
parent
commit
733554a12b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      source/plugin/carla-vst.cpp

+ 3
- 3
source/plugin/carla-vst.cpp View File

@@ -111,9 +111,6 @@ public:
fVstRect.right = 740;

init();

// tell host we want MIDI events
fAudioMaster(fEffect, audioMasterWantMidi, 0, 0, nullptr, 0.0f);
}

~NativePlugin()
@@ -197,6 +194,9 @@ public:

fMidiEventCount = 0;
carla_zeroStruct<NativeTimeInfo>(fTimeInfo);

// tell host we want MIDI events
fAudioMaster(fEffect, audioMasterWantMidi, 0, 0, nullptr, 0.0f);
}
else
{


Loading…
Cancel
Save