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
Property | Value |
---|---|
int32_t ApiVersion | API Version: Set this to EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST. |
int16_t* Frames | Pointer to the data with the interleaved audio frames in signed 16 bits format. |
uint32_t FramesCount | Number of frames available in the Frames buffer. |
uint32_t SampleRate | Sample rate for the samples in the Frames buffer. |
uint32_t Channels | Number of channels for the samples in the Frames buffer. |