I tried for the first time in a long while to setup JACK on my Ubuntu environment.
After a few attempts I finally managed to set it up correctly. My validation test was to run “Virtual Keyboard” and route its midi output into “amSynth” midi input, then “amSynth” audio outputs to the system sink, and hear the result.
So far, so good.
Then I tried to put JuceDemo in the picture. I modified the project to get JACK support, which wasn’t enabled by default. So now I get a choice of output device in the audio setup dialog, and I pick JACK. Here the weird stuff begins:
 When I select an input and an output from the combo boxes, JuceJack device only shows its input ports.
 When I select an output and no input, same behaviour: only the input ports are available.
 Only when I select an input (note it’s not possible if no other device with output ports is available), and no output, JACK tells me that the JuceJack device has Output ports. I can plug them to my System device and get sound from the demo’s synth player.
Note I reproduced on Juce tip but my Ubuntu is not the latest one (oneiric). Still I don’t think there were revolutionary changes in JACK’s code nor in Juce’s JACK handling in the meantime.
Has anyone ever encountered such problem? Is it a JACK config problem (although I didn’t find anything about it on google) or a Juce one?
Should I dig into Juce’s JACK code? (please tell me no… )