On Wed, Sep 7, 2016 at 12:11 PM, Kjetil Matheussen <k.s.matheussen@gmail.com> wrote:


On Wed, Sep 7, 2016 at 12:06 PM, Kjetil Matheussen <k.s.matheussen@gmail.com> wrote:
 
potential problems just calling "jack_set_freewheel(g_jack_client, 1)"
during program startup? (i.e. whether we are freewheeling or not)

 
I meant "jack_set_freewheel(client, 0)", i.e as a way to turn of freewheeling
if it was turned on.



Seems like I can detect if jack is freewheeling by checking the return
value of "jack_acquire_real_time_scheduling(client, jack_client_real_time_priority(client))".
Now I can inform the user that something is wrong, and that's all that's needed.

Also, calling "jack_set_freewheel(client, 0)" didn't quite work. It does
turn off freewheeling, and jack seems to work, but if trying to turn on
freewheeling again later, jack freezes. (at least with the old version
of jack I have installed)