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.
|
This struct is used to represent an audio buffer received in callbacks from EOS_RTCAudio_AddNotifyAudioBeforeSend and EOS_RTCAudio_AddNotifyAudioBeforeRender.
Properties
RTCAudio.AudioBuffer
Property
|
Value
|
int ApiVersion
|
API Version: Set this to EOS_RTCAUDIO_AUDIOBUFFER_API_LATEST.
|
short[] Frames
|
Pointer to the data with the interleaved audio frames in signed 16 bits format.
|
uint SampleRate
|
Sample rate for the samples in the Frames buffer.
|
uint Channels
|
Number of channels for the samples in the Frames buffer.
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no