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

ovr_Microphone_GetPCM Function

Gets all available samples of microphone data and copies it into outputBuffer. The microphone will generate data at roughly the rate of 480 samples per 10ms. The data format is 16 bit fixed point 48khz mono.
This function can be safely called from any thread.

Signature

size_t ovr_Microphone_GetPCM(const ovrMicrophoneHandle obj, int16_t *outputBuffer, size_t outputBufferNumElements)

Parameters

outputBuffer: int16_t *
outputBufferNumElements: size_t

Returns

size_t