Jack2 1.9.6
|
Functions | |
jack_nframes_t | jack_frames_since_cycle_start (const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT |
jack_nframes_t | jack_frame_time (const jack_client_t *) JACK_OPTIONAL_WEAK_EXPORT |
jack_nframes_t | jack_last_frame_time (const jack_client_t *client) JACK_OPTIONAL_WEAK_EXPORT |
jack_time_t | jack_frames_to_time (const jack_client_t *client, jack_nframes_t) JACK_OPTIONAL_WEAK_EXPORT |
jack_nframes_t | jack_time_to_frames (const jack_client_t *client, jack_time_t) JACK_OPTIONAL_WEAK_EXPORT |
jack_time_t | jack_get_time () JACK_OPTIONAL_WEAK_EXPORT |
JACK time is in units of 'frames', according to the current sample rate. The absolute value of frame times is meaningless, frame times have meaning only relative to each other.
jack_nframes_t jack_frames_since_cycle_start | ( | const jack_client_t * | ) |
Definition at line 1302 of file JackAPI.cpp.
jack_nframes_t jack_frame_time | ( | const jack_client_t * | ) |
Definition at line 1367 of file JackAPI.cpp.
jack_nframes_t jack_last_frame_time | ( | const jack_client_t * | client | ) |
This is the only jack time function that returns exact time: when used during the process callback it always returns the same value (until the next process callback, where it will return that value + nframes, etc). The return value is guaranteed to be monotonic and linear in this fashion unless an xrun occurs. If an xrun occurs, clients must check this value again, as time may have advanced in a non-linear way (e.g. cycles may have been skipped).
Definition at line 1375 of file JackAPI.cpp.
jack_time_t jack_frames_to_time | ( | const jack_client_t * | client, |
jack_nframes_t | |||
) |
Definition at line 1325 of file JackAPI.cpp.
jack_nframes_t jack_time_to_frames | ( | const jack_client_t * | client, |
jack_time_t | |||
) |
Definition at line 1346 of file JackAPI.cpp.
jack_time_t jack_get_time | ( | ) |
The value returned is guaranteed to be monotonic, but not linear.
Definition at line 1317 of file JackAPI.cpp.