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

ovr_NetSync_GetMonostreamFloatPCM Function

Gets all available samples of monostream voice data for the given networking session identifier and copies it into outputBuffer. Returns the number of frames copied.
This function can be safely called from any thread.

Signature

size_t ovr_NetSync_GetMonostreamFloatPCM(long long connection_id, ovrID sessionId, float *outputBuffer, size_t outputBufferNumElements)

Parameters

connection_id: long long
sessionId: ovrID
outputBuffer: float *
outputBufferNumElements: size_t

Returns

size_t