I’ve been using JUCE for a while now but I’m just starting to learn about plugin development.
I’ve been playing around with the JuceDemoPlugin project and I’ve noticed a minor bug in its performance within Logic Pro 9; when I load up the AU as an effect plugin the tempo, time signature, and positioning info isn’t synced from the host until the playhead is moving over an actual piece of audio. If loading the AU up as an instrument plugin (or in this case, a MIDI-controlled effect plugin), it is correctly synced at the plugins initialisation. Tested this in Ableton Live too and both effect and instrument version of the plugin sync right away.
Is it possible that JuceDemoPluginAudioProcessor::processBlock() won’t start being called until there is some kind of audio input within Logic? Any solutions to this?