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

ovr_NetSync_GetMonostreamInt16PCM 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_GetMonostreamInt16PCM(long long connection_id, ovrID session_id, int16_t *outputBuffer, size_t outputBufferNumElements)

Parameters

connection_id: long long
session_id: ovrID
outputBuffer: int16_t *
outputBufferNumElements: size_t

Returns

size_t