Defined Types



CAClockSMPTEFormat


A SMPTE format, specifying the frames per second (fps) and whether it is drop frame.

typedef UInt32 CAClockSMPTEFormat; 
Discussion

The possible values of a CAClockSMPTEFormat are found in <CoreAudio/CoreAudioTypes.h>. Values include kSMPTETimeType30, kSMPTETimeType30Drop, etc. Note that formats with more than 30 fps are not usable with MIDI Time Code.


CAClockRef


A reference to a Core Audio Clock object.

typedef struct OpaqueCAClock * CAClockRef; 

CAClockBeats


MIDI quarter notes (see MIDI specs)

typedef Float64 CAClockBeats; 

CAClockTempo


A musical tempo in beats per minute.

typedef Float64 CAClockTempo; // beats per minute 

CAClockListenerProc


A client-supplied function called when the clock's state changes.

typedef void (*CAClockListenerProc)(
    void *userData,
    CAClockMessage message,
    const void *param); 
Parameter Descriptions
userData
The value passed to CAClockAddListener when the callback function was installed.
message
Signifies the kind of event which occurred.
param
This value is specific to the message (currently no messages have values).
Discussion



(Last Updated July 18, 2005)