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

ovr_Voip_GetPCMWithTimestampFloat Function

See ovr_Voip_GetPCMWithTimestamp(). Uses a 32-bit floating-point data format.

Signature

size_t ovr_Voip_GetPCMWithTimestampFloat(ovrID senderID, float *outputBuffer, size_t outputBufferNumElements, uint32_t *timestamp)

Parameters

senderID: ovrID The ID of the user who sent the audio data.
outputBuffer: float * A buffer to store the audio samples.
outputBufferNumElements: size_t The number of elements in the output buffer.
timestamp: uint32_t * A pointer to a uint32 variable that will store the timestamp of the first sample in the output buffer.

Returns

size_t