CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CLC_ErrorCode BaseOutput_SetTimeStampSongPosition ( CPHOBJECT const  hBaseOutput,
SongPosition const  position 
)

Set the timestamp to Song Position value.

Parameters
[in]hBaseOutputOutput or controller handle
[in]positionThe position expressed as a 32 bits number. Unit is (a quarter note / 1920).
Returns
Standard CHAILink Client return code. See CLC_ErrorCode enumeration.
Remarks
CAUTION: this method does not flush data. Possible multipart pending messages will be sent using the previous timestamp information.
Warning
This function can only be called in CopperLan context. This means in the pseudo task CPDoProcess(), in notification handlers or in asynchronous return handlers and not in SystemDoProcess() for instance.