I am currently working on porting an app I have built with Juce to the Mac.
Everything seems to work correctly up until I try to send Midi Messages to a USB device. In one case it sends the first sysex message, but in another area of the code it never sends the message correctly. My code for the working and not working sections is below. Any help would be greatly appreciated.
if(midiOutput) midiOutput->sendMessageNow(MidiMessage(gDSPPrepareFlash, sizeof(gDSPPrepareFlash)));
where gDSPPrepareFlash is a in memory array of type char.
msg = 0xF9;
if(midiOutput) midiOutput->sendMessageNow(MidiMessage(msg, 1));
Any ideas why seemingling identical code would behave so differently?