Re: [LAD] [Jack-Devel] jack2's dbus name

From: Paul Davis <paul@email-addr-hidden>
Date: Fri Jun 19 2009 - 05:38:59 EEST

On Thu, Jun 18, 2009 at 8:27 PM, Lennart Poettering<mzynq@email-addr-hidden> wrote:
>
> But for MIDI time is critical. For my control events it is not. That's
> why I'd like to handle them after the _signal() invocation.

fair enough, but you definitely cannot use
jack_frames_since_cycle_start() there. there is no guarantee that you
will avoid retrograde values in return value - if you happen to
overshoot the start of the next cycle, the return value will go
backwards. as mentioned the functioned was designed under the
assumption that is only ever called within the process cycle, so using
it outside of it (even if from some perspective, it is still active)
is going to lead to potential errors. i still think you'd be better
off semop-ing another thread and letting it get on with the event
handling, and just head back into jack_cycle_wait().

--p
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Jun 19 08:15:01 2009

This archive was generated by hypermail 2.1.8 : Fri Jun 19 2009 - 08:15:01 EEST