<div dir="ltr"><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 7, 2016 at 12:11 PM, Kjetil Matheussen <span dir="ltr"><<a href="mailto:k.s.matheussen@gmail.com" target="_blank">k.s.matheussen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Wed, Sep 7, 2016 at 12:06 PM, Kjetil Matheussen <span dir="ltr"><<a href="mailto:k.s.matheussen@gmail.com" target="_blank">k.s.matheussen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"> <br></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>potential problems just calling "jack_set_freewheel(g_jack_cli<wbr>ent, 1)"</div><div>during program startup? (i.e. whether we are freewheeling or not)</div><div><br></div></div></blockquote><div> </div></span><div>I meant "jack_set_freewheel(client, 0)", i.e as a way to turn of freewheeling</div><div>if it was turned on.</div><div><br></div></div></div></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">Seems like I can detect if jack is freewheeling by checking the return</div><div class="gmail_extra">value of "jack_acquire_real_time_scheduling(client, jack_client_real_time_priority(client))".<br></div><div class="gmail_extra">Now I can inform the user that something is wrong, and that's all that's needed.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also, calling "jack_set_freewheel(client, 0)" didn't quite work. It does</div><div class="gmail_extra">turn off freewheeling, and jack seems to work, but if trying to turn on</div><div class="gmail_extra">freewheeling again later, jack freezes. (at least with the old version</div><div class="gmail_extra">of jack I have installed)</div><div class="gmail_extra"><br></div></div></div>