CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_INPUT_CLOCKTICK)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPENDPOINT const *pSource, CPUINT16 const wBPM, CPUINT16 const wResolution, CPUINT16 const wTick)

Called if the input receives a clock tick.

Parameters
[in]hInputHandle to the notified input.
[in]dwInputUserDataThe user data associated to the input handle during its creation.
[in]pSourcePointer to the clock generator source.
[in]wBPMOptional BPM value (0xFFFF if not applicable, default value = 0xFFFF)
[in]wResolutionClock resolution (multiple of 24)
[in]wTickOptional Tick count ([0..wResolution-1] or 0xFFFF if not applicable)
Remarks
This notification is activated by using Input_RegisterClockListenerControlNotificationHandler. If this notification is defined in the CLC_Callbacks structure then NH_INPUT_CLOCKDEFINITION , NH_INPUT_CLOCKCOMMAND and NH_INPUT_CLOCKSETPOSITION must also be defined.