FYI, someone has already done this. The code is in jack_0_35_0_cb branch. Don't know if this is useful at that point. It will surely improve latency for portaudio because portaudio is also callback based. Still someone needs to rewrite the portaudio part for this to work.
thanks ... that's interesting ... i'll check that ...
tim