ovr_Voip_GetSyncTimestamp Function
Returns a timestamp used for synchronizing audio samples sent to the given user with an external data stream.
Timestamps associated with audio frames are implicitly transmitted to remote peers; on the receiving side, they can be obtained by using
ovr_Voip_GetPCMWithTimestamp().
ovr_Voip_GetPCMWithTimestamp() is used to fetch those timestamps on the sending side an application can insert the value returned by this function into each data packet and compare it to the value returned by GetPCMWithTimestamp() on the receiving side in order to determine the ordering of two events (sampling audio and composing a data packet).
Note: the timestamp is generated by an unspecified clock; it's doesn't generally represent wall-clock time. Use
ovr_Voip_GetSyncTimestampDifference() to convert the difference between two timestamps to microseconds.
This function assumes that a voice connection to the user already exists; it returns 0 if that isn't the case.
uint32_t ovr_Voip_GetSyncTimestamp(ovrID userID)
uint32_t