# POST_PACKED_STRUCTURE Struct Reference

`#include <transport.h>`

## Data Fields

jack_unique_t | unique_1
jack_time_t | usecs
jack_nframes_t | frame_rate
jack_nframes_t | frame
jack_position_bits_t | valid
int32_t | bar
int32_t | beat
int32_t | tick
double | bar_start_tick
float | beats_per_bar
float | beat_type
double | ticks_per_beat
double | beats_per_minute
double | frame_time
double | next_time
jack_nframes_t | bbt_offset
float | audio_frames_per_video_frame
jack_nframes_t | video_offset
int32_t | padding [7]
jack_unique_t | unique_2

## Detailed Description

Struct for transport position information.

## Field Documentation

float POST_PACKED_STRUCTURE::audio_frames_per_video_frame

number of audio frames per video frame. Should be assumed zero if JackAudioVideoRatio is not set. If JackAudioVideoRatio is set and the value is zero, no video data exists within the JACK graph

int32_t POST_PACKED_STRUCTURE::bar

current bar

double POST_PACKED_STRUCTURE::bar_start_tick

jack_nframes_t POST_PACKED_STRUCTURE::bbt_offset

frame offset for the BBT fields (the given bar, beat, and tick values actually refer to a time frame_offset frames before the start of the cycle), should be assumed to be 0 if JackBBTFrameOffset is not set. If JackBBTFrameOffset is set and this value is zero, the BBT time refers to the first frame of this cycle. If the value is positive, the BBT time refers to a frame that many frames before the start of the cycle.

int32_t POST_PACKED_STRUCTURE::beat

current beat-within-bar

float POST_PACKED_STRUCTURE::beat_type

time signature "denominator"

float POST_PACKED_STRUCTURE::beats_per_bar

time signature "numerator"

double POST_PACKED_STRUCTURE::beats_per_minute

jack_nframes_t POST_PACKED_STRUCTURE::frame

frame number, always present

jack_nframes_t POST_PACKED_STRUCTURE::frame_rate

current frame rate (per second)

double POST_PACKED_STRUCTURE::frame_time

current time in seconds

double POST_PACKED_STRUCTURE::next_time

next sequential frame_time (unless repositioned)

int32_t POST_PACKED_STRUCTURE::padding[7]

int32_t POST_PACKED_STRUCTURE::tick

current tick-within-beat

double POST_PACKED_STRUCTURE::ticks_per_beat

jack_unique_t POST_PACKED_STRUCTURE::unique_1

unique ID

jack_unique_t POST_PACKED_STRUCTURE::unique_2

unique ID

jack_time_t POST_PACKED_STRUCTURE::usecs

monotonic, free-rolling

jack_position_bits_t POST_PACKED_STRUCTURE::valid

which other fields are valid

jack_nframes_t POST_PACKED_STRUCTURE::video_offset

audio frame at which the first video frame in this cycle occurs. Should be assumed to be 0 if JackVideoFrameOffset is not set. If JackVideoFrameOffset is set, but the value is zero, there is no video frame within this cycle.

The documentation for this struct was generated from the following file:

- transport.h