User Guide

Ampex 1308911-02 5-3
libdd2 API Functions DST API Overview
type Specifies the position form and format (see dst_pos_type_en
below).
pos Union containing the position information in the specified form and
format (see
dst_position_un below).
dst_pos_type_en
This typedef enumeration supports the following definitions of position form and format. The
position format must be compatible with the current drive capabilities, however. For example,
if the drive supports only standard DD-2 positioning, then
DstPos600 is not a valid
definition for this member.
typedef enum dst_pos_type
{
DstPosDef = 0, /* Default position in structure form */
DstPosTok, /* Token position (in current drive format on get) */
DstPosDD2, /* Standard DD-2 position in structure form */
DstPos600, /* DST600 position in structure form */
DstPosDIS /* DIS timecode position in structure form */
} dst_pos_type_en;
DstPosDef Structure form of position in the native format of the current drive.
DstPosTok Token form of position (expanded format that accommodates all drive
types).
DstPosDD2 Structure form of position in standard DST format.
DstPos600 Structure form of position in DST600 format.
DstPosDIS Structure form of position in DIS format.
dst_position_un
This union type contains the position information in the specified form and format.
typedef union
{
dst_pos_tok_t token; /* Type DstPosTok (any drive format) */
dst_dd2_pos_st dd2; /* Type DstPosDD2 */
dst_600_pos_st dst600; /* Type DstPos600 */
dst_dis_pos_st dis; /* Type DstPosDIS */
} dst_position_un;
token Position token array of type dst_pos_tok_t (see dst_pos_tok_t
below).