Prototype for the @a sync_callback defined by slow-sync clients.
When the client is active, this callback is invoked just before
process() in the same thread. This occurs once after registration,
then subsequently whenever some client requests a new position, or
the transport enters the ::JackTransportStarting state. This
realtime function must not wait.
The transport @a state will be:
- ::JackTransportStopped when a new position is requested;
- ::JackTransportStarting when the transport is waiting to start;
- ::JackTransportRolling when the timeout has expired, and the
position is now a moving target.
@param state current transport state.
@param pos new transport position.
@param arg the argument supplied by jack_set_sync_callback().
Prototype for the @a sync_callback defined by slow-sync clients. When the client is active, this callback is invoked just before process() in the same thread. This occurs once after registration, then subsequently whenever some client requests a new position, or the transport enters the ::JackTransportStarting state. This realtime function must not wait.
The transport @a state will be:
- ::JackTransportStopped when a new position is requested; - ::JackTransportStarting when the transport is waiting to start; - ::JackTransportRolling when the timeout has expired, and the position is now a moving target.
@param state current transport state. @param pos new transport position. @param arg the argument supplied by jack_set_sync_callback().
@return TRUE (non-zero) when ready to roll.