static void | |
static void | Microphone_Start ( FOvrMicrophone & Model ) |
static void | Microphone_Stop ( FOvrMicrophone & Model ) |
static void UOvrMicrophoneMethods::Microphone_SetAcceptableRecordingDelayHint ( FOvrMicrophone & Model, int64 DelayMs ) |
---|
Returns the minimum number of samples available to be read. This function is inherently racy, it is possible that more samples may be returned by the next call to getPCM. This function is only implemented on Android. Windows will always return 0. Returns the size of the internal ringbuffer used by the microhone in elements. This size is the maximum number of elements that can ever be returned by field FOvrMicrophone::GetPCM*. This function can be safely called from any thread. 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. 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 32 bit floating point 48khz mono. This function can be safely called from any thread. DEPRECATED. Use field FOvrMicrophone::GetPCMFloat instead. 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 32 bit floating point 48khz mono. This function can be safely called from any thread. Indicates that the caller is fine with a certain delay in the delivery of recorded audio frames. Setting this to a low value will reduce the latency at the cost of efficiency. Note that this is only a hint; the actual implementation may ignore it. |
static void UOvrMicrophoneMethods::Microphone_Start ( FOvrMicrophone & Model ) |
---|
Register a callback that will be called whenever audio data is available for the microphone. Starts microphone recording. After this is called pcm data can be extracted using field FOvrMicrophone::GetPCM. This function can be safely called from any thread. |
static void UOvrMicrophoneMethods::Microphone_Stop ( FOvrMicrophone & Model ) |
---|
Stops microphone recording. This function can be safely called from any thread. |