Re: [Jack-Devel] BUG REPORT : Overflow of XRUNs after a certain time.

PrevNext  Index
DateWed, 30 May 2012 05:14:34 -0400
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToaCOSwt <[hidden] at orange dot fr>
Cc[hidden] at lists dot jackaudio dot org
In-Reply-ToaCOSwt Re: [Jack-Devel] BUG REPORT : Overflow of XRUNs after a certain time.
Follow-UpaCOSwt Re: [Jack-Devel] BUG REPORT : Overflow of XRUNs after a certain time.
On Wed, May 30, 2012 at 3:28 AM, aCOSwt <[hidden]> wrote:

> > Looks like the problem is associated with raw MIDI.
> >
> > I have jackd running on my test system without the -Xraw option. It has
> > now run well past the point where the lockup occurred with -Xraw, without
> > any problem.
>
> I confirm this. Which seems indeed logical as the problem occurs with no
> client recorded apart from the MIDI ports.
>
> Meanwhile, I am tracing the problem and would be grateful if someone
> familiar
> with jack's code could confirm :
>

your understanding is correct, but also "upside down". you should think
about JACK like this:

   while (1) {
         wait_for_backend_to_decide_that_it_is_time_to_process_data ();
         execute_a_single_process_cycle ();
   }
PrevNext  Index

1338369281.7744_0.ltw:2, <CAFa_cKmGSVw4jC2ErnLudL40Y3_9RzSUSGbwP-qXBvUrok8Jog at mail dot gmail dot com>