Commit bb4d65e8 authored by Benjamin Heisch's avatar Benjamin Heisch
Browse files

make compile on linux again

parent b2b85fd9
Pipeline #19065 passed with stages
in 3 minutes and 59 seconds
......@@ -50,13 +50,13 @@ public:
delete[] inData;
delete[] outData;
//MIDI TEST
if (effect->dispatcher(effect, effCanDo, 0, 0, "receiveVstMidiEvent", 0) == 1){
if (effect->dispatcher(effect, effCanDo, 0, 0, (void*)"receiveVstMidiEvent", 0) == 1){
VstMidiEvent mEvent{ kVstMidiType,sizeof(VstMidiEvent),0,0,0,0,{ 0x1,0x2,0x3,0x0 },0,0,0,0 };
VstEvent* mEventP = (VstEvent*)&mEvent;
VstEvents ev{ 1,nullptr,{ mEventP,NULL } };
effect->dispatcher(effect, effProcessEvents, 0, 0, &ev, 0);
}
effect->dispatcher(effect, effCanDo, 0, 0, "sendVstMidiEvent", 0);
effect->dispatcher(effect, effCanDo, 0, 0, (void*)"sendVstMidiEvent", 0);
effect->dispatcher(effect, effMainsChanged, 0, 0, nullptr, 0);
effect->dispatcher(effect, effClose, 0, 0, nullptr, 0);// Close Effect
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment