Re: [Jack-Devel] jack-transport state change notification

PrevNext  Index
DateTue, 23 Aug 2011 08:45:56 -0400
From Paul Davis <[hidden] at linuxaudiosystems dot com>
ToOrm Finnendahl <[hidden] at inm dot mh-freiburg dot de>
Cc[hidden] at lists dot jackaudio dot org
In-Reply-ToOrm Finnendahl [Jack-Devel] jack-transport state change notification
Follow-UpOrm Finnendahl Re: [Jack-Devel] jack-transport state change notification
On Tue, Aug 23, 2011 at 7:31 AM, Orm Finnendahl
<[hidden]> wrote:
> Hi,
>
> I'm currently reworking the jacktransport plugin for puredata to
> accomodate the changes in the api in the last years (the old plugin is
> from 2005). The mechanism seems to be clear, but I'd like to confirm
> that I'm doing it the right way:
>
> In order to intercept changes in the transport state I assume the
> client has to poll jack (with jack_transport_query) or is there a
> mechanism for installing a callback enabling clients to get informed
> by jack that transport state has changed (e.g. if another application
> stops jack transport)?

hi orm!

transport state changes are block-aligned to process callbacks. so you
just check in a process callback for the current state. it is not
possible to change state in the middle of a process callback.
PrevNext  Index

1314103582.908_0.ltw:2,a <CAFa_cK=cc-inytKw=gFZxVNCeYm16BYeDwMo256Q16DYbSRGtg at mail dot gmail dot com>