EOS_RTCAudio_AudioBuffer

EOS API reference page for EOS_RTCAudio_AudioBuffer

阅读时间少于1分钟

Remarks

This struct is used to represent an audio buffer received in callbacks from EOS_RTCAudio_AddNotifyAudioBeforeSend and EOS_RTCAudio_AddNotifyAudioBeforeRender.

Properties

EOS_RTCAudio_AudioBuffer

PropertyValue
int32_t ApiVersionAPI Version: Set this to EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST.
int16_t* FramesPointer to the data with the interleaved audio frames in signed 16 bits format.
uint32_t FramesCountNumber of frames available in the Frames buffer.
uint32_t SampleRateSample rate for the samples in the Frames buffer.
uint32_t ChannelsNumber of channels for the samples in the Frames buffer.