REALTIME Types Reference¶
Per-function autodoc pages link to these types via the type name (e.g., [List](types-realtime.md#list)).
Clickable inner types: inside each struct definition, field types that are themselves structs/unions/enums are clickable hyperlinks to their own definitions.
Contents¶
realtime.h¶
Conductor¶
Source: libraries/realtime.h
struct Conductor
{
struct Node cdt_Link;
UWORD cdt_Reserved0;
struct MinList cdt_Players; /* this conductor's players */
ULONG cdt_ClockTime; /* current time of this sequence */
ULONG cdt_StartTime; /* start time of this sequence */
ULONG cdt_ExternalTime; /* time from external unit */
ULONG cdt_MaxExternalTime; /* upper limit on sync'd time */
ULONG cdt_Metronome; /* MetricTime highest pri node */
UWORD cdt_Reserved1;
UWORD cdt_Flags; /* conductor flags */
UBYTE cdt_State; /* playing or stopped */
};
Player¶
Source: libraries/realtime.h
struct Player
{
struct Node pl_Link;
BYTE pl_Reserved0;
BYTE pl_Reserved1;
struct Hook *pl_Hook; /* player's hook function */
struct Conductor *pl_Source; /* pointer to parent context */
struct Task *pl_Task; /* task to signal for alarm */
LONG pl_MetricTime; /* current time in app's metric */
LONG pl_AlarmTime; /* time to wake up */
void *pl_UserData; /* for application use */
UWORD pl_PlayerID; /* for application use */
UWORD pl_Flags; /* general Player flags */
};
pmState¶
Source: libraries/realtime.h
struct pmState
{
ULONG pms_Method; /* PM_STATE */
ULONG pms_OldState;
};
pmTime¶
Source: libraries/realtime.h
struct pmTime
{
ULONG pmt_Method; /* PM_TICK, PM_POSITION, or PM_SHUTTLE */
ULONG pmt_Time;
};
RealTimeBase¶
Source: libraries/realtime.h
struct RealTimeBase
{
struct Library rtb_LibNode;
UBYTE rtb_Reserved0[2];
ULONG rtb_Time; /* current time */
ULONG rtb_TimeFrac; /* fixed-point fraction part of time */
UWORD rtb_Reserved1;
WORD rtb_TickErr; /* nanosecond error from ideal Tick */
};