Struct jack::Transport [−][src]
pub struct Transport { /* fields omitted */ }Expand description
A structure for querying and manipulating the JACK transport.
Implementations
Start the JACK transport rolling.
Remarks
- Any client can make this request at any time.
- It takes effect no sooner than the next process cycle, perhaps later if there are slow-sync clients.
- This function is realtime-safe.
Stop the JACK transport.
Remarks
- Any client can make this request at any time.
- It takes effect on the next process cycle.
- This function is realtime-safe.
Request a new transport position.
Arguments
pos- requested new transport position.
Remarks
- May be called at any time by any client.
- The new position takes effect in two process cycles.
- If there are slow-sync clients and the transport is already rolling, it will enter the
TransportState::Startingstate and begin invoking their sync_callbacks until ready. - This function is realtime-safe.
Reposition the transport to a new frame number.
Arguments
frame- frame number of new transport position.
Remarks
- May be called at any time by any client.
- The new position takes effect in two process cycles.
- If there are slow-sync clients and the transport is already rolling, it will enter the JackTransportStarting state and begin invoking their sync_callbacks until ready.
- This function is realtime-safe.
Query the current transport state and position.
Remarks
- This function is realtime-safe, and can be called from any thread.
- If called from the process thread,
poscorresponds to the first frame of the current cycle and the state returned is valid for the entire cycle.
Query the current transport state.
Remarks
- This function is realtime-safe, and can be called from any thread.
- If called from the process thread, the state returned is valid for the entire cycle.
