pub unsafe extern "C" fn ltc_frame_alignment(
    samples_per_frame: f64,
    standard: LTC_TV_STANDARD
) -> ltc_off_t
Expand description

LTCFrame sample alignment offset.

There is a relative offset of the LTC-Frame start and the TV-frame. The first bit of a LTC frame corresponds to a specific line in the actual video frame. When decoding this offset needs to be subtracted from the LTC-frame’s audio-sample-time to match the TV-frame’s start position.

For film frames or HDV the offset is zero.

@param samples_per_frame audio-samples per timecode-frame (eg. 1920 = 48000/25) @param standard the TV standard @return offset in samples