I'm running through a couple of issues:
1) I'm working in a plugin that outputs MIDI correctly in VST mode but fails to do so in the Audio Unit version.
I suspect that this feature (MIDI output) is not implemented in the JUCE plugin wrapper for Audio Unit. Can anybody confirm?
Apparently it would be possible. http://lists.apple.com/archives/coreaudio-api/2007/Mar/msg00053.html
2) I'm also having problems with getCurrentPosition. If I run:
AudioPlayHead::CurrentPositionInfo pos; getPlayHead()->getCurrentPosition(pos);
Only the bpm and signature fields are correct. Everything else doesn't seem to be written (e.g. isPlaying or ppqPosition, in particular, are critical to me). Is there a way to get this information in Audio Units?
I compiled with juce 2.0 and the latest snapshot from git, Mac OSX lion and XCode 4.3.3 (after following Jules' instructions in http://www.rawmaterialsoftware.com/viewtopic.php?f=8&t=8682)
Thanks in advance