#include <AgoraMediaBase.h>
The definition of the AudioFrame struct.
◆ AudioFrame()
IAudioFrameObserverBase::AudioFrame::AudioFrame |
( |
| ) |
|
|
inline |
◆ avsync_type
int IAudioFrameObserverBase::AudioFrame::avsync_type |
◆ buffer
void* IAudioFrameObserverBase::AudioFrame::buffer |
The pointer to the audio data buffer.
◆ bytesPerSample
The number of bytes per sample.
◆ channels
int IAudioFrameObserverBase::AudioFrame::channels |
The number of audio channels (data is interleaved, if stereo).
◆ renderTimeMs
int64_t IAudioFrameObserverBase::AudioFrame::renderTimeMs |
The timestamp to render the audio data. Use this member for audio-video synchronization when rendering the audio.
- Note
- This parameter is the timestamp for audio rendering. Set it as 0.
◆ samplesPerChannel
int IAudioFrameObserverBase::AudioFrame::samplesPerChannel |
The number of samples per channel in this frame.
◆ samplesPerSec
int IAudioFrameObserverBase::AudioFrame::samplesPerSec |
The sample rate of the audio frame.
◆ type
The documentation for this struct was generated from the following file: