[Jack-Devel] How to handle freewheeling failure

PrevNext  Index
DateWed, 07 Sep 2016 12:06:11 +0200
From Kjetil Matheussen <[hidden] at gmail dot com>
To"[hidden] at lists dot jackaudio dot org" <[hidden] at lists dot jackaudio dot org>
Follow-UpKjetil Matheussen Re: [Jack-Devel] How to handle freewheeling failure
Hi,

I wonder how you normally handle the situation when the
program exits abnormally (for instance if the user kills a client)
while freewheeling.

I'm not so interested in detecting this when it happens, but
I want to handle it somewhat gracefully when my program
is started again. I.e. I don't want the program not producing
any sound and not informing that something is wrong.

As far as I can see, there is no function to check whether
jack is currently freewheeling (or is there?). So are there any
potential problems just calling "jack_set_freewheel(g_jack_client, 1)"
during program startup? (i.e. whether we are freewheeling or not)
PrevNext  Index

1473242785.6743_0.ltw:2,a <CAC6niEKWJfkC8LBh95NESkfhTQ_L=468=GMJVcjQ_6dLx_rveA at mail dot gmail dot com>