API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_Voip_GetSyncTimestampDifference Function

Calculates the difference between two sync timestamps, returned by either ovr_Voip_GetSyncTimestamp() or ovr_Voip_GetPCMWithTimestamp(), and converts it to microseconds.
Return value will be negative if lhs is smaller than rhs, zero if both timestamps are the same, and positive otherwise. The absolute value of the result is the time in microseconds between two sync timestamps.

Signature

long long ovr_Voip_GetSyncTimestampDifference(uint32_t lhs, uint32_t rhs)

Parameters

lhs: uint32_t
rhs: uint32_t

Returns

long long