This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

ovr_Voip_GetPCM

Gets all available samples of voice data for the specified peer and copies it into outputBuffer. The voip system will generate data at roughly the rate of 480 samples per 10ms. This function should be called every frame with 50ms (2400 elements) of buffer size to account for frame rate variations. The data format is 16 bit fixed point 48khz mono.

This function can be safely called from any thread.

This function returns a size_t

Parameters

ParameterDescription

senderID

Type: ovrID

outputBuffer

Type: int16_t *

outputBufferNumElements

Type: size_t